start: 00000000 600A bra +0xC /* 0000000C */ 00000002 0000 4344 ori.b D0, 0x44 /* 'D' */ 00000006 4546 chk.w D2, D6 00000008 003F 0000 ori.b <>, 0x0 label0000000C: 0000000C 4EFA 0002 jmp [PC + 0x2 /* 00000010 */] label00000010: 00000010 4E56 FFCE link A6, -0x0032 00000014 48E7 0F18 movem.l -[A7], D4,D5,D6,D7,A3,A4 00000018 3A2E 000C move.w D5, [A6 + 0xC] 0000001C 3E2E 0012 move.w D7, [A6 + 0x12] 00000020 266E 000E movea.l A3, [A6 + 0xE] 00000024 7C00 moveq.l D6, 0x00 00000026 486E FFF4 pea.l [A6 - 0xC] 0000002A A874 syscall GetPort 0000002C 2053 movea.l A0, [A3] 0000002E 2D68 0004 FFFA move.l [A6 - 0x6], [A0 + 0x4] 00000034 2F2E FFFA move.l -[A7], [A6 - 0x6] 00000038 A873 syscall SetPort 0000003A 204B movea.l A0, A3 0000003C A069 syscall HGetState 0000003E 1D40 FFF9 move.b [A6 - 0x7], D0 00000042 204B movea.l A0, A3 00000044 A029 syscall HLock 00000046 2053 movea.l A0, [A3] 00000048 2068 001C movea.l A0, [A0 + 0x1C] 0000004C A029 syscall HLock 0000004E 486E FFE4 pea.l [A6 - 0x1C] 00000052 4EBA 11A6 jsr [PC + 0x11A6 /* 000011FA */] 00000056 486E FFD2 pea.l [A6 - 0x2E] 0000005A A898 syscall GetPenState 0000005C A89E syscall PenNormal 0000005E 7008 moveq.l D0, 0x08 00000060 C047 and.w D0, D7 00000062 588F addq.l A7, 4 00000064 661C bne +0x1E /* 00000082 */ 00000066 426E FFEC clr.w [A6 - 0x14] 0000006A 426E FFF0 clr.w [A6 - 0x10] 0000006E 422E FFEE clr.b [A6 - 0x12] 00000072 3D7C 0001 FFF2 move.w [A6 - 0xE], 0x1 00000078 486E FFEC pea.l [A6 - 0x14] 0000007C 4EBA 11BA jsr [PC + 0x11BA /* 00001238 */] 00000080 588F addq.l A7, 4 label00000082: 00000082 2053 movea.l A0, [A3] 00000084 2068 001C movea.l A0, [A0 + 0x1C] 00000088 2850 movea.l A4, [A0] 0000008A 0C45 0003 cmpi.w D5, 0x3 0000008E 6748 beq +0x4A /* 000000D8 */ 00000090 598F subq.l A7, 4 00000092 3F2C 0004 move.w -[A7], [A4 + 0x4] 00000096 A949 syscall GetMenuHandle 00000098 289F move.l [A4], [A7]+ 0000009A 6622 bne +0x24 /* 000000BE */ 0000009C 426C 002E clr.w [A4 + 0x2E] 000000A0 598F subq.l A7, 4 000000A2 3F2C 0024 move.w -[A7], [A4 + 0x24] 000000A6 A9BF syscall GetRMenu 000000A8 289F move.l [A4], [A7]+ 000000AA 6700 00E0 beq +0xE2 /* 0000018C */ 000000AE 2054 movea.l A0, [A4] 000000B0 2050 movea.l A0, [A0] 000000B2 3950 0004 move.w [A4 + 0x4], [A0] 000000B6 2F14 move.l -[A7], [A4] 000000B8 70FF moveq.l D0, 0xFFFFFFFF 000000BA 3F00 move.w -[A7], D0 000000BC A935 syscall InsertMenu label000000BE: 000000BE 382C 0004 move.w D4, [A4 + 0x4] 000000C2 2F14 move.l -[A7], [A4] 000000C4 A9A2 syscall LoadResource 000000C6 2054 movea.l A0, [A4] 000000C8 4A90 tst.l [A0] 000000CA 6700 00C0 beq +0xC2 /* 0000018C */ 000000CE A069 syscall HGetState 000000D0 1D40 FFFF move.b [A6 - 0x1], D0 000000D4 2054 movea.l A0, [A4] 000000D6 A04A syscall HNoPurge label000000D8: 000000D8 3005 move.w D0, D5 000000DA 6B00 0098 bmi +0x9A /* 00000174 */ 000000DE 0C40 000B cmpi.w D0, 0xB 000000E2 6E00 0090 bgt +0x92 /* 00000174 */ 000000E6 D040 add.w D0, D0 000000E8 303B 0006 move.w D0, [PC + D0.w + 0x6] 000000EC 4EFB 0000 jmp [PC + D0.w] 000000F0 001A 003C ori.b [A2]+, 0x3C /* '<' */ 000000F4 004C 0060 ori.w A4, 0x60 /* '`' */ 000000F8 006E 0086 0086 ori.w [A6 + 0x86], 0x86 000000FE 0086 0078 0086 ori.l D6, 0x780086 00000104 004C 004C ori.w A4, 0x4C /* 'L' */ 00000108 2053 movea.l A0, [A3] 0000010A 4A28 0010 tst.b [A0 + 0x10] 0000010E 6764 beq +0x66 /* 00000174 */ 00000110 302E 000A move.w D0, [A6 + 0xA] 00000114 48C0 ext.l D0 00000116 2F00 move.l -[A7], D0 00000118 48C7 ext.l D7 0000011A 2F07 move.l -[A7], D7 0000011C 2F0B move.l -[A7], A3 0000011E 4EBA 025E jsr [PC + 0x25E /* 0000037E */] 00000122 2C00 move.l D6, D0 00000124 4FEF 000C lea.l A7, [A7 + 0xC] 00000128 604A bra +0x4C /* 00000174 */ 0000012A 2F2E 0008 move.l -[A7], [A6 + 0x8] 0000012E 2F0B move.l -[A7], A3 00000130 4EBA 05D8 jsr [PC + 0x5D8 /* 0000070A */] 00000134 2C00 move.l D6, D0 00000136 508F addq.l A7, 8 00000138 603A bra +0x3C /* 00000174 */ 0000013A 486E 0008 pea.l [A6 + 0x8] 0000013E 48C7 ext.l D7 00000140 2F07 move.l -[A7], D7 00000142 2F0B move.l -[A7], A3 00000144 4EBA 0668 jsr [PC + 0x668 /* 000007AE */] 00000148 4FEF 000C lea.l A7, [A7 + 0xC] 0000014C 6026 bra +0x28 /* 00000174 */ 0000014E 48C7 ext.l D7 00000150 2F07 move.l -[A7], D7 00000152 2F0B move.l -[A7], A3 00000154 4EBA 0070 jsr [PC + 0x70 /* 000001C6 */] 00000158 508F addq.l A7, 8 0000015A 6018 bra +0x1A /* 00000174 */ 0000015C 2F0B move.l -[A7], A3 0000015E 4EBA 0608 jsr [PC + 0x608 /* 00000768 */] 00000162 588F addq.l A7, 4 00000164 600E bra +0x10 /* 00000174 */ 00000166 48C7 ext.l D7 00000168 2F07 move.l -[A7], D7 0000016A 2F0B move.l -[A7], A3 0000016C 4EBA 0674 jsr [PC + 0x674 /* 000007E2 */] 00000170 2C00 move.l D6, D0 00000172 508F addq.l A7, 8 label00000174: 00000174 0C45 0003 cmpi.w D5, 0x3 00000178 6712 beq +0x14 /* 0000018C */ 0000017A 598F subq.l A7, 4 0000017C 3F04 move.w -[A7], D4 0000017E A949 syscall GetMenuHandle 00000180 205F movea.l A0, [A7]+ 00000182 2D48 FFCE move.l [A6 - 0x32], A0 00000186 102E FFFF move.b D0, [A6 - 0x1] 0000018A A06A syscall HSetState label0000018C: 0000018C 486E FFE4 pea.l [A6 - 0x1C] 00000190 4EBA 10A6 jsr [PC + 0x10A6 /* 00001238 */] 00000194 486E FFD2 pea.l [A6 - 0x2E] 00000198 A899 syscall SetPenState 0000019A 2053 movea.l A0, [A3] 0000019C 2068 001C movea.l A0, [A0 + 0x1C] 000001A0 A02A syscall HUnlock 000001A2 204B movea.l A0, A3 000001A4 102E FFF9 move.b D0, [A6 - 0x7] 000001A8 A06A syscall HSetState 000001AA 2F2E FFF4 move.l -[A7], [A6 - 0xC] 000001AE A873 syscall SetPort 000001B0 2D46 0014 move.l [A6 + 0x14], D6 000001B4 588F addq.l A7, 4 000001B6 4CEE 18F0 FFB6 movem.l D4,D5,D6,D7,A3,A4, [A6 - 0x4A] 000001BC 4E5E unlink A6 000001BE 205F movea.l A0, [A7]+ 000001C0 4FEF 000C lea.l A7, [A7 + 0xC] 000001C4 4ED0 jmp [A0] fn000001C6: 000001C6 4E56 FFF8 link A6, -0x0008 000001CA 48E7 0318 movem.l -[A7], D6,D7,A3,A4 000001CE 3E2E 000E move.w D7, [A6 + 0xE] 000001D2 206E 0008 movea.l A0, [A6 + 0x8] 000001D6 2650 movea.l A3, [A0] 000001D8 703A moveq.l D0, 0x3A 000001DA A322 syscall NewHandleClear, flags=3 000001DC 2D48 FFF8 move.l [A6 - 0x8], A0 000001E0 2748 001C move.l [A3 + 0x1C], A0 000001E4 4AAE FFF8 tst.l [A6 - 0x8] 000001E8 6700 017A beq +0x17C /* 00000364 */ 000001EC 206E FFF8 movea.l A0, [A6 - 0x8] 000001F0 A029 syscall HLock 000001F2 206E FFF8 movea.l A0, [A6 - 0x8] 000001F6 2850 movea.l A4, [A0] 000001F8 7000 moveq.l D0, 0x00 000001FA 3038 028E move.w D0, [0x0000028E /* ROM85 */] 000001FE 0C40 3FFF cmpi.w D0, 0x3FFF 00000202 53C0 sls D0 00000204 0240 0001 andi.w D0, 0x1 00000208 48C0 ext.l D0 0000020A 1940 0027 move.b [A4 + 0x27], D0 0000020E 6720 beq +0x22 /* 00000230 */ 00000210 7000 moveq.l D0, 0x00 00000212 4A2C 0027 tst.b [A4 + 0x27] 00000216 6714 beq +0x16 /* 0000022C */ 00000218 206B 0004 movea.l A0, [A3 + 0x4] 0000021C 3228 0006 move.w D1, [A0 + 0x6] 00000220 48C1 ext.l D1 00000222 343C C000 move.w D2, 0xC000 00000226 C441 and.w D2, D1 00000228 6602 bne +0x4 /* 0000022C */ 0000022A 7001 moveq.l D0, 0x01 label0000022C: 0000022C 1940 0028 move.b [A4 + 0x28], D0 label00000230: 00000230 396B 0014 0004 move.w [A4 + 0x4], [A3 + 0x14] 00000236 396B 0014 0024 move.w [A4 + 0x24], [A3 + 0x14] 0000023C 7001 moveq.l D0, 0x01 0000023E B06B 0016 cmp.w D0, [A3 + 0x16] 00000242 6C06 bge +0x8 /* 0000024A */ 00000244 396B 0016 002A move.w [A4 + 0x2A], [A3 + 0x16] label0000024A: 0000024A 303C 00FF move.w D0, 0xFF 0000024E C06B 0012 and.w D0, [A3 + 0x12] 00000252 4880 ext.w D0 00000254 3940 002C move.w [A4 + 0x2C], D0 00000258 302B 0012 move.w D0, [A3 + 0x12] 0000025C 48C0 ext.l D0 0000025E 323C 8000 move.w D1, 0x8000 00000262 C240 and.w D1, D0 00000264 660E bne +0x10 /* 00000274 */ 00000266 303C 7F00 move.w D0, 0x7F00 0000026A C06B 0012 and.w D0, [A3 + 0x12] 0000026E E048 lsr D0.w, 8 00000270 1940 0029 move.b [A4 + 0x29], D0 label00000274: 00000274 7008 moveq.l D0, 0x08 00000276 C047 and.w D0, D7 00000278 670C beq +0xE /* 00000286 */ 0000027A 206B 0004 movea.l A0, [A3 + 0x4] 0000027E 1028 0046 move.b D0, [A0 + 0x46] 00000282 812C 0029 or.b [A4 + 0x29], D0 label00000286: 00000286 598F subq.l A7, 4 00000288 3F2C 0004 move.w -[A7], [A4 + 0x4] 0000028C A949 syscall GetMenuHandle 0000028E 2D5F FFFC move.l [A6 - 0x4], [A7]+ 00000292 56C0 sne D0 00000294 4400 neg.b D0 00000296 4880 ext.w D0 00000298 3940 002E move.w [A4 + 0x2E], D0 0000029C 6632 bne +0x34 /* 000002D0 */ 0000029E 598F subq.l A7, 4 000002A0 3F2C 0024 move.w -[A7], [A4 + 0x24] 000002A4 A9BF syscall GetRMenu 000002A6 2D5F FFFC move.l [A6 - 0x4], [A7]+ 000002AA 6700 00B8 beq +0xBA /* 00000364 */ 000002AE 206E FFFC movea.l A0, [A6 - 0x4] 000002B2 A069 syscall HGetState 000002B4 1C00 move.b D6, D0 000002B6 206E FFFC movea.l A0, [A6 - 0x4] 000002BA A04A syscall HNoPurge 000002BC 206E FFFC movea.l A0, [A6 - 0x4] 000002C0 2050 movea.l A0, [A0] 000002C2 3950 0004 move.w [A4 + 0x4], [A0] 000002C6 2F2E FFFC move.l -[A7], [A6 - 0x4] 000002CA 70FF moveq.l D0, 0xFFFFFFFF 000002CC 3F00 move.w -[A7], D0 000002CE A935 syscall InsertMenu label000002D0: 000002D0 28AE FFFC move.l [A4], [A6 - 0x4] 000002D4 7004 moveq.l D0, 0x04 000002D6 C047 and.w D0, D7 000002D8 670A beq +0xC /* 000002E4 */ 000002DA 2F2E FFFC move.l -[A7], [A6 - 0x4] 000002DE 2F2B 0024 move.l -[A7], [A3 + 0x24] 000002E2 A94D syscall AppendResMenu/AddResMenu label000002E4: 000002E4 302B 000E move.w D0, [A3 + 0xE] 000002E8 906B 000A sub.w D0, [A3 + 0xA] 000002EC 3940 001C move.w [A4 + 0x1C], D0 000002F0 0807 0000 btst.b D7, 0x0 000002F4 6706 beq +0x8 /* 000002FC */ 000002F6 396C 001C 001A move.w [A4 + 0x1A], [A4 + 0x1C] label000002FC: 000002FC 377C 0001 0014 move.w [A3 + 0x14], 0x1 00000302 558F subq.l A7, 2 00000304 2F2E FFFC move.l -[A7], [A6 - 0x4] 00000308 A950 syscall CountMItems 0000030A 375F 0016 move.w [A3 + 0x16], [A7]+ 0000030E 6604 bne +0x6 /* 00000314 */ 00000310 426B 0014 clr.w [A3 + 0x14] label00000314: 00000314 376B 0014 0012 move.w [A3 + 0x12], [A3 + 0x14] 0000031A 302C 0004 move.w D0, [A4 + 0x4] 0000031E 48C0 ext.l D0 00000320 4840 swap.w D0 00000322 4240 clr.w D0 00000324 322B 0012 move.w D1, [A3 + 0x12] 00000328 48C1 ext.l D1 0000032A D280 add.l D1, D0 0000032C 2941 0006 move.l [A4 + 0x6], D1 00000330 41EC 0012 lea.l A0, [A4 + 0x12] 00000334 224B movea.l A1, A3 00000336 5089 addq.l A1, 8 00000338 20D9 move.l [A0]+, [A1]+ 0000033A 20D9 move.l [A0]+, [A1]+ 0000033C 396B 0016 0022 move.w [A4 + 0x22], [A3 + 0x16] 00000342 197C 0001 0026 move.b [A4 + 0x26], 0x1 00000348 48C7 ext.l D7 0000034A 2F07 move.l -[A7], D7 0000034C 2F2E 0008 move.l -[A7], [A6 + 0x8] 00000350 4EBA 06DC jsr [PC + 0x6DC /* 00000A2E */] 00000354 70FF moveq.l D0, 0xFFFFFFFF 00000356 2740 0020 move.l [A3 + 0x20], D0 0000035A 2054 movea.l A0, [A4] 0000035C 1006 move.b D0, D6 0000035E A06A syscall HSetState 00000360 508F addq.l A7, 8 00000362 6010 bra +0x12 /* 00000374 */ label00000364: 00000364 2F2E 0008 move.l -[A7], [A6 + 0x8] 00000368 4EBA 03FE jsr [PC + 0x3FE /* 00000768 */] 0000036C 7000 moveq.l D0, 0x00 0000036E 2740 001C move.l [A3 + 0x1C], D0 00000372 588F addq.l A7, 4 label00000374: 00000374 4CEE 18C0 FFE8 movem.l D6,D7,A3,A4, [A6 - 0x18] 0000037A 4E5E unlink A6 0000037C 4E75 rts fn0000037E: 0000037E 4E56 FFCC link A6, -0x0034 00000382 48E7 0F18 movem.l -[A7], D4,D5,D6,D7,A3,A4 00000386 7000 moveq.l D0, 0x00 00000388 2D40 FFCC move.l [A6 - 0x34], D0 0000038C 2D40 FFF8 move.l [A6 - 0x8], D0 00000390 4207 clr.b D7 00000392 42AE FFFC clr.l [A6 - 0x4] 00000396 206E 0008 movea.l A0, [A6 + 0x8] 0000039A 2650 movea.l A3, [A0] 0000039C 206B 001C movea.l A0, [A3 + 0x1C] 000003A0 2850 movea.l A4, [A0] 000003A2 182C 0027 move.b D4, [A4 + 0x27] 000003A6 2D6B 0004 FFD0 move.l [A6 - 0x30], [A3 + 0x4] 000003AC 7201 moveq.l D1, 0x01 000003AE 7400 moveq.l D2, 0x00 000003B0 142B 0011 move.b D2, [A3 + 0x11] 000003B4 0C42 00FF cmpi.w D2, 0xFF 000003B8 670C beq +0xE /* 000003C6 */ 000003BA 2054 movea.l A0, [A4] 000003BC 2050 movea.l A0, [A0] 000003BE 4A68 0002 tst.w [A0 + 0x2] 000003C2 6702 beq +0x4 /* 000003C6 */ 000003C4 7200 moveq.l D1, 0x00 label000003C6: 000003C6 1A01 move.b D5, D1 000003C8 486E FFDC pea.l [A6 - 0x24] 000003CC 7000 moveq.l D0, 0x00 000003CE 3F00 move.w -[A7], D0 000003D0 3F00 move.w -[A7], D0 000003D2 3F00 move.w -[A7], D0 000003D4 3F00 move.w -[A7], D0 000003D6 A8A7 syscall SetRect 000003D8 486E FFDC pea.l [A6 - 0x24] 000003DC 7005 moveq.l D0, 0x05 000003DE 2F00 move.l -[A7], D0 000003E0 322E 000E move.w D1, [A6 + 0xE] 000003E4 48C1 ext.l D1 000003E6 2F01 move.l -[A7], D1 000003E8 2F2E 0008 move.l -[A7], [A6 + 0x8] 000003EC 4EBA 0C20 jsr [PC + 0xC20 /* 0000100E */] 000003F0 2F14 move.l -[A7], [A4] 000003F2 3F2B 0012 move.w -[A7], [A3 + 0x12] 000003F6 486E FFFC pea.l [A6 - 0x4] 000003FA A84E syscall GetItemCmd 000003FC 2F14 move.l -[A7], [A4] 000003FE 3F2B 0012 move.w -[A7], [A3 + 0x12] 00000402 486E FFFE pea.l [A6 - 0x2] 00000406 A943 syscall GetItmMark 00000408 7001 moveq.l D0, 0x01 0000040A 0C6E 0081 0012 cmpi.w [A6 + 0x12], 0x81 00000410 4FEF 0010 lea.l A7, [A7 + 0x10] 00000414 6742 beq +0x44 /* 00000458 */ 00000416 322B 0016 move.w D1, [A3 + 0x16] 0000041A B26C 0022 cmp.w D1, [A4 + 0x22] 0000041E 6638 bne +0x3A /* 00000458 */ 00000420 322E FFE0 move.w D1, [A6 - 0x20] 00000424 B26C 001E cmp.w D1, [A4 + 0x1E] 00000428 662E bne +0x30 /* 00000458 */ 0000042A 721A moveq.l D1, 0x1A 0000042C B26E FFFC cmp.w D1, [A6 - 0x4] 00000430 6726 beq +0x28 /* 00000458 */ 00000432 2054 movea.l A0, [A4] 00000434 2050 movea.l A0, [A0] 00000436 322C 0020 move.w D1, [A4 + 0x20] 0000043A B268 0002 cmp.w D1, [A0 + 0x2] 0000043E 6618 bne +0x1A /* 00000458 */ 00000440 2F00 move.l -[A7], D0 00000442 558F subq.l A7, 2 00000444 486C 0012 pea.l [A4 + 0x12] 00000448 486B 0008 pea.l [A3 + 0x8] 0000044C A8A6 syscall EqualRect 0000044E 121F move.b D1, [A7]+ 00000450 201F move.l D0, [A7]+ 00000452 4A01 tst.b D1 00000454 6702 beq +0x4 /* 00000458 */ 00000456 7000 moveq.l D0, 0x00 label00000458: 00000458 1E00 move.b D7, D0 0000045A 6740 beq +0x42 /* 0000049C */ 0000045C 396B 0016 0022 move.w [A4 + 0x22], [A3 + 0x16] 00000462 396E FFE0 001E move.w [A4 + 0x1E], [A6 - 0x20] 00000468 2054 movea.l A0, [A4] 0000046A 2050 movea.l A0, [A0] 0000046C 3968 0002 0020 move.w [A4 + 0x20], [A0 + 0x2] 00000472 41EC 0012 lea.l A0, [A4 + 0x12] 00000476 224B movea.l A1, A3 00000478 5089 addq.l A1, 8 0000047A 20D9 move.l [A0]+, [A1]+ 0000047C 20D9 move.l [A0]+, [A1]+ 0000047E 486C 000A pea.l [A4 + 0xA] 00000482 A8A3 syscall EraseRect 00000484 302E 000E move.w D0, [A6 + 0xE] 00000488 48C0 ext.l D0 0000048A 2F00 move.l -[A7], D0 0000048C 2F2E 0008 move.l -[A7], [A6 + 0x8] 00000490 4EBA 059C jsr [PC + 0x59C /* 00000A2E */] 00000494 486C 000A pea.l [A4 + 0xA] 00000498 A8A3 syscall EraseRect 0000049A 508F addq.l A7, 8 label0000049C: 0000049C 4A2C 0026 tst.b [A4 + 0x26] 000004A0 660C bne +0xE /* 000004AE */ 000004A2 4A07 tst.b D7 000004A4 6608 bne +0xA /* 000004AE */ 000004A6 4A6C 002A tst.w [A4 + 0x2A] 000004AA 6F00 024C ble +0x24E /* 000006F8 */ label000004AE: 000004AE 4A2C 0028 tst.b [A4 + 0x28] 000004B2 670E beq +0x10 /* 000004C2 */ 000004B4 2F2E FFD0 move.l -[A7], [A6 - 0x30] 000004B8 4EBA 09D4 jsr [PC + 0x9D4 /* 00000E8E */] 000004BC 2D40 FFCC move.l [A6 - 0x34], D0 000004C0 588F addq.l A7, 4 label000004C2: 000004C2 4A04 tst.b D4 000004C4 670C beq +0xE /* 000004D2 */ 000004C6 486E FFEC pea.l [A6 - 0x14] 000004CA AA19 syscall GetForeColor 000004CC 486E FFF2 pea.l [A6 - 0xE] 000004D0 AA1A syscall GetBackColor label000004D2: 000004D2 598F subq.l A7, 4 000004D4 A8D8 syscall NewRgn 000004D6 2D5F FFE4 move.l [A6 - 0x1C], [A7]+ 000004DA 598F subq.l A7, 4 000004DC A8D8 syscall NewRgn 000004DE 2D5F FFE8 move.l [A6 - 0x18], [A7]+ 000004E2 2F2E FFE4 move.l -[A7], [A6 - 0x1C] 000004E6 A87A syscall GetClip 000004E8 2F2E FFE8 move.l -[A7], [A6 - 0x18] 000004EC 486B 0008 pea.l [A3 + 0x8] 000004F0 A8DF syscall RectRgn 000004F2 2F2E FFE8 move.l -[A7], [A6 - 0x18] 000004F6 2F2E FFE4 move.l -[A7], [A6 - 0x1C] 000004FA 2F2E FFE8 move.l -[A7], [A6 - 0x18] 000004FE A8E4 syscall SectRgn 00000500 2F2E FFE8 move.l -[A7], [A6 - 0x18] 00000504 A879 syscall SetClip 00000506 4A6C 002A tst.w [A4 + 0x2A] 0000050A 6F16 ble +0x18 /* 00000522 */ 0000050C 2F0C move.l -[A7], A4 0000050E 2F0B move.l -[A7], A3 00000510 4EBA 0834 jsr [PC + 0x834 /* 00000D46 */] 00000514 4A2C 0026 tst.b [A4 + 0x26] 00000518 508F addq.l A7, 8 0000051A 6606 bne +0x8 /* 00000522 */ 0000051C 4A07 tst.b D7 0000051E 6700 019E beq +0x1A0 /* 000006BE */ label00000522: 00000522 7000 moveq.l D0, 0x00 00000524 102B 0011 move.b D0, [A3 + 0x11] 00000528 0C40 0001 cmpi.w D0, 0x1 0000052C 6606 bne +0x8 /* 00000534 */ 0000052E 4A07 tst.b D7 00000530 6700 018C beq +0x18E /* 000006BE */ label00000534: 00000534 486E FFD4 pea.l [A6 - 0x2C] 00000538 2F0C move.l -[A7], A4 0000053A 4EBA 0C0E jsr [PC + 0xC0E /* 0000114A */] 0000053E 4A04 tst.b D4 00000540 508F addq.l A7, 8 00000542 6722 beq +0x24 /* 00000566 */ 00000544 7000 moveq.l D0, 0x00 00000546 2F00 move.l -[A7], D0 00000548 322B 0012 move.w D1, [A3 + 0x12] 0000054C 48C1 ext.l D1 0000054E 2F01 move.l -[A7], D1 00000550 322C 0004 move.w D1, [A4 + 0x4] 00000554 48C1 ext.l D1 00000556 2F01 move.l -[A7], D1 00000558 4EBA 09D4 jsr [PC + 0x9D4 /* 00000F2E */] 0000055C 486E FFD4 pea.l [A6 - 0x2C] 00000560 A8A3 syscall EraseRect 00000562 4FEF 000C lea.l A7, [A7 + 0xC] label00000566: 00000566 486E FFDC pea.l [A6 - 0x24] 0000056A 2F0C move.l -[A7], A4 0000056C 4EBA 0C1E jsr [PC + 0xC1E /* 0000118C */] 00000570 4A05 tst.b D5 00000572 508F addq.l A7, 8 00000574 6718 beq +0x1A /* 0000058E */ 00000576 2054 movea.l A0, [A4] 00000578 2050 movea.l A0, [A0] 0000057A 2C28 000A move.l D6, [A0 + 0xA] 0000057E 701F moveq.l D0, 0x1F 00000580 B06B 0012 cmp.w D0, [A3 + 0x12] 00000584 6D08 blt +0xA /* 0000058E */ 00000586 2F14 move.l -[A7], [A4] 00000588 3F2B 0012 move.w -[A7], [A3 + 0x12] 0000058C A93A syscall DisableItem label0000058E: 0000058E 701B moveq.l D0, 0x1B 00000590 B06E FFFC cmp.w D0, [A6 - 0x4] 00000594 660C bne +0xE /* 000005A2 */ 00000596 2F14 move.l -[A7], [A4] 00000598 3F2B 0012 move.w -[A7], [A3 + 0x12] 0000059C 7000 moveq.l D0, 0x00 0000059E 3F00 move.w -[A7], D0 000005A0 A84F syscall SetItemCmd label000005A2: 000005A2 2F14 move.l -[A7], [A4] 000005A4 3F2B 0012 move.w -[A7], [A3 + 0x12] 000005A8 7000 moveq.l D0, 0x00 000005AA 3F00 move.w -[A7], D0 000005AC A944 syscall SetItmMark 000005AE 486E FFDC pea.l [A6 - 0x24] 000005B2 7004 moveq.l D0, 0x04 000005B4 2F00 move.l -[A7], D0 000005B6 322E 000E move.w D1, [A6 + 0xE] 000005BA 48C1 ext.l D1 000005BC 2F01 move.l -[A7], D1 000005BE 2F2E 0008 move.l -[A7], [A6 + 0x8] 000005C2 4EBA 0A4A jsr [PC + 0xA4A /* 0000100E */] 000005C6 2F14 move.l -[A7], [A4] 000005C8 3F2B 0012 move.w -[A7], [A3 + 0x12] 000005CC 3F2E FFFC move.w -[A7], [A6 - 0x4] 000005D0 A84F syscall SetItemCmd 000005D2 2F14 move.l -[A7], [A4] 000005D4 3F2B 0012 move.w -[A7], [A3 + 0x12] 000005D8 3F2E FFFE move.w -[A7], [A6 - 0x2] 000005DC A944 syscall SetItmMark 000005DE 4A05 tst.b D5 000005E0 4FEF 0010 lea.l A7, [A7 + 0x10] 000005E4 6708 beq +0xA /* 000005EE */ 000005E6 2054 movea.l A0, [A4] 000005E8 2050 movea.l A0, [A0] 000005EA 2146 000A move.l [A0 + 0xA], D6 label000005EE: 000005EE 2054 movea.l A0, [A4] 000005F0 2050 movea.l A0, [A0] 000005F2 7C01 moveq.l D6, 0x01 000005F4 CCA8 000A and.l D6, [A0 + 0xA] 000005F8 7001 moveq.l D0, 0x01 000005FA B086 cmp.l D0, D6 000005FC 6612 bne +0x14 /* 00000610 */ 000005FE 2054 movea.l A0, [A4] 00000600 2050 movea.l A0, [A0] 00000602 302B 0012 move.w D0, [A3 + 0x12] 00000606 7201 moveq.l D1, 0x01 00000608 E1A9 lsl D1, D0 0000060A 2C01 move.l D6, D1 0000060C CCA8 000A and.l D6, [A0 + 0xA] label00000610: 00000610 7001 moveq.l D0, 0x01 00000612 4A05 tst.b D5 00000614 6606 bne +0x8 /* 0000061C */ 00000616 4A86 tst.l D6 00000618 6702 beq +0x4 /* 0000061C */ 0000061A 7000 moveq.l D0, 0x00 label0000061C: 0000061C 4880 ext.w D0 0000061E 48C0 ext.l D0 00000620 2F00 move.l -[A7], D0 00000622 2F0C move.l -[A7], A4 00000624 4EBA 05FC jsr [PC + 0x5FC /* 00000C22 */] 00000628 4A04 tst.b D4 0000062A 508F addq.l A7, 8 0000062C 6718 beq +0x1A /* 00000646 */ 0000062E 7000 moveq.l D0, 0x00 00000630 2F00 move.l -[A7], D0 00000632 72FF moveq.l D1, 0xFFFFFFFF 00000634 2F01 move.l -[A7], D1 00000636 342C 0004 move.w D2, [A4 + 0x4] 0000063A 48C2 ext.l D2 0000063C 2F02 move.l -[A7], D2 0000063E 4EBA 08EE jsr [PC + 0x8EE /* 00000F2E */] 00000642 4FEF 000C lea.l A7, [A7 + 0xC] label00000646: 00000646 4A05 tst.b D5 00000648 670C beq +0xE /* 00000656 */ 0000064A 2F0C move.l -[A7], A4 0000064C 4EBA 0C86 jsr [PC + 0xC86 /* 000012D4 */] 00000650 2D40 FFF8 move.l [A6 - 0x8], D0 00000654 588F addq.l A7, 4 label00000656: 00000656 486E FFD4 pea.l [A6 - 0x2C] 0000065A A8A1 syscall FrameRect 0000065C 486E FFD4 pea.l [A6 - 0x2C] 00000660 2F0C move.l -[A7], A4 00000662 4EBA 0B6C jsr [PC + 0xB6C /* 000011D0 */] 00000666 536E FFDA subq.w [A6 - 0x26], 1 0000066A 3F2E FFDA move.w -[A7], [A6 - 0x26] 0000066E 3F2E FFD4 move.w -[A7], [A6 - 0x2C] 00000672 A893 syscall MoveTo 00000674 3F2E FFDA move.w -[A7], [A6 - 0x26] 00000678 536E FFD8 subq.w [A6 - 0x28], 1 0000067C 3F2E FFD8 move.w -[A7], [A6 - 0x28] 00000680 A891 syscall LineTo 00000682 3F2E FFD6 move.w -[A7], [A6 - 0x2A] 00000686 3F2E FFD8 move.w -[A7], [A6 - 0x28] 0000068A A891 syscall LineTo 0000068C 4A05 tst.b D5 0000068E 508F addq.l A7, 8 00000690 671E beq +0x20 /* 000006B0 */ 00000692 4AAE FFF8 tst.l [A6 - 0x8] 00000696 6618 bne +0x1A /* 000006B0 */ 00000698 486E FFDC pea.l [A6 - 0x24] 0000069C 2F0C move.l -[A7], A4 0000069E 4EBA 0A60 jsr [PC + 0xA60 /* 00001100 */] 000006A2 700B moveq.l D0, 0x0B 000006A4 3F00 move.w -[A7], D0 000006A6 A89C syscall PenMode 000006A8 486E FFDC pea.l [A6 - 0x24] 000006AC A8A2 syscall PaintRect 000006AE 508F addq.l A7, 8 label000006B0: 000006B0 A89E syscall PenNormal 000006B2 4AAE FFF8 tst.l [A6 - 0x8] 000006B6 6706 beq +0x8 /* 000006BE */ 000006B8 2F2E FFF8 move.l -[A7], [A6 - 0x8] 000006BC AA08 syscall DisposePixPat/DisposPixPat label000006BE: 000006BE 4A04 tst.b D4 000006C0 670C beq +0xE /* 000006CE */ 000006C2 486E FFEC pea.l [A6 - 0x14] 000006C6 AA14 syscall RGBForeColor 000006C8 486E FFF2 pea.l [A6 - 0xE] 000006CC AA15 syscall RGBBackColor label000006CE: 000006CE 2F2E FFE4 move.l -[A7], [A6 - 0x1C] 000006D2 A879 syscall SetClip 000006D4 2F2E FFE4 move.l -[A7], [A6 - 0x1C] 000006D8 A8D9 syscall DisposRgn/DisposeRgn 000006DA 2F2E FFE8 move.l -[A7], [A6 - 0x18] 000006DE A8D9 syscall DisposRgn/DisposeRgn 000006E0 4AAE FFCC tst.l [A6 - 0x34] 000006E4 6712 beq +0x14 /* 000006F8 */ 000006E6 2F2E FFCC move.l -[A7], [A6 - 0x34] 000006EA A87D syscall ClosePort 000006EC 206E FFCC movea.l A0, [A6 - 0x34] 000006F0 A01F syscall DisposPtr/DisposePtr 000006F2 2F2E FFD0 move.l -[A7], [A6 - 0x30] 000006F6 A873 syscall SetPort label000006F8: 000006F8 197C 0001 0026 move.b [A4 + 0x26], 0x1 000006FE 7000 moveq.l D0, 0x00 00000700 4CEE 18F0 FFB4 movem.l D4,D5,D6,D7,A3,A4, [A6 - 0x4C] 00000706 4E5E unlink A6 00000708 4E75 rts fn0000070A: 0000070A 4E56 FFF4 link A6, -0x000C 0000070E 48E7 0118 movem.l -[A7], D7,A3,A4 00000712 266E 0008 movea.l A3, [A6 + 0x8] 00000716 7E00 moveq.l D7, 0x00 00000718 2D6E 000C FFF4 move.l [A6 - 0xC], [A6 + 0xC] 0000071E 2053 movea.l A0, [A3] 00000720 2068 001C movea.l A0, [A0 + 0x1C] 00000724 2850 movea.l A4, [A0] 00000726 41EE FFF8 lea.l A0, [A6 - 0x8] 0000072A 43EC 000A lea.l A1, [A4 + 0xA] 0000072E 20D9 move.l [A0]+, [A1]+ 00000730 20D9 move.l [A0]+, [A1]+ 00000732 558F subq.l A7, 2 00000734 2F2E FFF4 move.l -[A7], [A6 - 0xC] 00000738 486E FFF8 pea.l [A6 - 0x8] 0000073C A8AD syscall PtInRect 0000073E 4A1F tst.b [A7]+ 00000740 671A beq +0x1C /* 0000075C */ 00000742 2053 movea.l A0, [A3] 00000744 7000 moveq.l D0, 0x00 00000746 1028 0011 move.b D0, [A0 + 0x11] 0000074A 0C40 00FF cmpi.w D0, 0xFF 0000074E 670C beq +0xE /* 0000075C */ 00000750 2054 movea.l A0, [A4] 00000752 2050 movea.l A0, [A0] 00000754 4A68 0002 tst.w [A0 + 0x2] 00000758 6702 beq +0x4 /* 0000075C */ 0000075A 7E01 moveq.l D7, 0x01 label0000075C: 0000075C 2007 move.l D0, D7 0000075E 4CEE 1880 FFE8 movem.l D7,A3,A4, [A6 - 0x18] 00000764 4E5E unlink A6 00000766 4E75 rts fn00000768: 00000768 4E56 0000 link A6, 0 0000076C 48E7 0018 movem.l -[A7], A3,A4 00000770 266E 0008 movea.l A3, [A6 + 0x8] 00000774 2053 movea.l A0, [A3] 00000776 2868 001C movea.l A4, [A0 + 0x1C] 0000077A 200C move.l D0, A4 0000077C 6726 beq +0x28 /* 000007A4 */ 0000077E 2054 movea.l A0, [A4] 00000780 4A68 002E tst.w [A0 + 0x2E] 00000784 6612 bne +0x14 /* 00000798 */ 00000786 3F28 0004 move.w -[A7], [A0 + 0x4] 0000078A A936 syscall DeleteMenu 0000078C 2054 movea.l A0, [A4] 0000078E 2F10 move.l -[A7], [A0] 00000790 A932 syscall DisposeMenu 00000792 2054 movea.l A0, [A4] 00000794 7000 moveq.l D0, 0x00 00000796 2080 move.l [A0], D0 label00000798: 00000798 204C movea.l A0, A4 0000079A A023 syscall DisposHandle/DisposeHandle 0000079C 2053 movea.l A0, [A3] 0000079E 7000 moveq.l D0, 0x00 000007A0 2140 001C move.l [A0 + 0x1C], D0 label000007A4: 000007A4 4CEE 1800 FFF8 movem.l A3,A4, [A6 - 0x8] 000007AA 4E5E unlink A6 000007AC 4E75 rts fn000007AE: 000007AE 4E56 0000 link A6, 0 000007B2 2F0C move.l -[A7], A4 000007B4 286E 0008 movea.l A4, [A6 + 0x8] 000007B8 302E 000E move.w D0, [A6 + 0xE] 000007BC 48C0 ext.l D0 000007BE 2F00 move.l -[A7], D0 000007C0 2F0C move.l -[A7], A4 000007C2 4EBA 026A jsr [PC + 0x26A /* 00000A2E */] 000007C6 206E 0010 movea.l A0, [A6 + 0x10] 000007CA 2F10 move.l -[A7], [A0] 000007CC 2054 movea.l A0, [A4] 000007CE 2068 001C movea.l A0, [A0 + 0x1C] 000007D2 2050 movea.l A0, [A0] 000007D4 4868 000A pea.l [A0 + 0xA] 000007D8 A8DF syscall RectRgn 000007DA 286E FFFC movea.l A4, [A6 - 0x4] 000007DE 4E5E unlink A6 000007E0 4E75 rts fn000007E2: 000007E2 4E56 FFE4 link A6, -0x001C 000007E6 48E7 0F18 movem.l -[A7], D4,D5,D6,D7,A3,A4 000007EA 3C2E 000E move.w D6, [A6 + 0xE] 000007EE 7000 moveq.l D0, 0x00 000007F0 2840 movea.l A4, D0 000007F2 7801 moveq.l D4, 0x01 000007F4 7E00 moveq.l D7, 0x00 000007F6 426E FFFE clr.w [A6 - 0x2] 000007FA 206E 0008 movea.l A0, [A6 + 0x8] 000007FE 2050 movea.l A0, [A0] 00000800 2068 001C movea.l A0, [A0 + 0x1C] 00000804 2650 movea.l A3, [A0] 00000806 2D53 FFE4 move.l [A6 - 0x1C], [A3] 0000080A 486E FFF0 pea.l [A6 - 0x10] 0000080E 2F0B move.l -[A7], A3 00000810 4EBA 0938 jsr [PC + 0x938 /* 0000114A */] 00000814 526E FFF2 addq.w [A6 - 0xE], 1 00000818 3D6E FFF2 FFFA move.w [A6 - 0x6], [A6 - 0xE] 0000081E 526E FFF0 addq.w [A6 - 0x10], 1 00000822 3D6E FFF0 FFF8 move.w [A6 - 0x8], [A6 - 0x10] 00000828 486E FFF8 pea.l [A6 - 0x8] 0000082C A870 syscall LocalToGlobal 0000082E 7008 moveq.l D0, 0x08 00000830 C046 and.w D0, D6 00000832 508F addq.l A7, 8 00000834 671A beq +0x1C /* 00000850 */ 00000836 7001 moveq.l D0, 0x01 00000838 2F00 move.l -[A7], D0 0000083A 206E 0008 movea.l A0, [A6 + 0x8] 0000083E 2050 movea.l A0, [A0] 00000840 2F28 0004 move.l -[A7], [A0 + 0x4] 00000844 486E FFE8 pea.l [A6 - 0x18] 00000848 4EBA 0A1A jsr [PC + 0xA1A /* 00001264 */] 0000084C 4FEF 000C lea.l A7, [A7 + 0xC] label00000850: 00000850 2F2E FFE4 move.l -[A7], [A6 - 0x1C] 00000854 206E 0008 movea.l A0, [A6 + 0x8] 00000858 2050 movea.l A0, [A0] 0000085A 3F28 0012 move.w -[A7], [A0 + 0x12] 0000085E 486E FFFE pea.l [A6 - 0x2] 00000862 A84E syscall GetItemCmd 00000864 701A moveq.l D0, 0x1A 00000866 B06E FFFE cmp.w D0, [A6 - 0x2] 0000086A 672C beq +0x2E /* 00000898 */ 0000086C 701B moveq.l D0, 0x1B 0000086E B06E FFFE cmp.w D0, [A6 - 0x2] 00000872 6724 beq +0x26 /* 00000898 */ 00000874 7A12 moveq.l D5, 0x12 00000876 7008 moveq.l D0, 0x08 00000878 C046 and.w D0, D6 0000087A 6708 beq +0xA /* 00000884 */ 0000087C 4A78 0BA6 tst.w [0x00000BA6 /* SysFontFam */] 00000880 6702 beq +0x4 /* 00000884 */ 00000882 7AA5 moveq.l D5, 0xFFFFFFA5 label00000884: 00000884 2F2E FFE4 move.l -[A7], [A6 - 0x1C] 00000888 206E 0008 movea.l A0, [A6 + 0x8] 0000088C 2050 movea.l A0, [A0] 0000088E 3F28 0012 move.w -[A7], [A0 + 0x12] 00000892 4885 ext.w D5 00000894 3F05 move.w -[A7], D5 00000896 A944 syscall SetItmMark label00000898: 00000898 486E FFF0 pea.l [A6 - 0x10] 0000089C 2F0B move.l -[A7], A3 0000089E 4EBA 08AA jsr [PC + 0x8AA /* 0000114A */] 000008A2 302E FFF6 move.w D0, [A6 - 0xA] 000008A6 48C0 ext.l D0 000008A8 322E FFF2 move.w D1, [A6 - 0xE] 000008AC 48C1 ext.l D1 000008AE 9081 sub.l D0, D1 000008B0 206E FFE4 movea.l A0, [A6 - 0x1C] 000008B4 2050 movea.l A0, [A0] 000008B6 3228 0002 move.w D1, [A0 + 0x2] 000008BA 48C1 ext.l D1 000008BC 9081 sub.l D0, D1 000008BE 3A00 move.w D5, D0 000008C0 5545 subq.w D5, 2 000008C2 4A45 tst.w D5 000008C4 5EC0 sgt D0 000008C6 0240 0001 andi.w D0, 0x1 000008CA 48C0 ext.l D0 000008CC 1800 move.b D4, D0 000008CE 508F addq.l A7, 8 000008D0 6776 beq +0x78 /* 00000948 */ 000008D2 598F subq.l A7, 4 000008D4 2F3C 7072 6F63 move.l -[A7], 0x70726F63 /* 'proc' */ 000008DA 3F3C DFE0 move.w -[A7], 0xDFE0 000008DE A9A0 syscall GetResource 000008E0 285F movea.l A4, [A7]+ 000008E2 200C move.l D0, A4 000008E4 6710 beq +0x12 /* 000008F6 */ 000008E6 2F0C move.l -[A7], A4 000008E8 A9A2 syscall LoadResource 000008EA 204C movea.l A0, A4 000008EC A029 syscall HLock 000008EE 4A94 tst.l [A4] 000008F0 6604 bne +0x6 /* 000008F6 */ 000008F2 7000 moveq.l D0, 0x00 000008F4 2840 movea.l A4, D0 label000008F6: 000008F6 200C move.l D0, A4 000008F8 674E beq +0x50 /* 00000948 */ 000008FA 206E FFE4 movea.l A0, [A6 - 0x1C] 000008FE 2050 movea.l A0, [A0] 00000900 2254 movea.l A1, [A4] 00000902 2368 0006 000C move.l [A1 + 0xC], [A0 + 0x6] 00000908 302B 0010 move.w D0, [A3 + 0x10] 0000090C 906B 000C sub.w D0, [A3 + 0xC] 00000910 3D40 FFFC move.w [A6 - 0x4], D0 00000914 7001 moveq.l D0, 0x01 00000916 C046 and.w D0, D6 00000918 6714 beq +0x16 /* 0000092E */ 0000091A 302E FFFC move.w D0, [A6 - 0x4] 0000091E B06B 001A cmp.w D0, [A3 + 0x1A] 00000922 670E beq +0x10 /* 00000932 */ 00000924 302E FFFC move.w D0, [A6 - 0x4] 00000928 B06B 001C cmp.w D0, [A3 + 0x1C] 0000092C 6704 beq +0x6 /* 00000932 */ label0000092E: 0000092E 3A2B 0036 move.w D5, [A3 + 0x36] label00000932: 00000932 2054 movea.l A0, [A4] 00000934 3145 0010 move.w [A0 + 0x10], D5 00000938 206E FFE4 movea.l A0, [A6 - 0x1C] 0000093C 2050 movea.l A0, [A0] 0000093E 214C 0006 move.l [A0 + 0x6], A4 00000942 2F2E FFE4 move.l -[A7], [A6 - 0x1C] 00000946 A948 syscall CalcMenuSize label00000948: 00000948 598F subq.l A7, 4 0000094A 2F2E FFE4 move.l -[A7], [A6 - 0x1C] 0000094E 3F2E FFF8 move.w -[A7], [A6 - 0x8] 00000952 3F2E FFFA move.w -[A7], [A6 - 0x6] 00000956 206E 0008 movea.l A0, [A6 + 0x8] 0000095A 2050 movea.l A0, [A0] 0000095C 3F28 0012 move.w -[A7], [A0 + 0x12] 00000960 A80B syscall PopUpMenuSelect 00000962 2E1F move.l D7, [A7]+ 00000964 2747 0006 move.l [A3 + 0x6], D7 00000968 4A04 tst.b D4 0000096A 6716 beq +0x18 /* 00000982 */ 0000096C 200C move.l D0, A4 0000096E 6712 beq +0x14 /* 00000982 */ 00000970 2054 movea.l A0, [A4] 00000972 226E FFE4 movea.l A1, [A6 - 0x1C] 00000976 2251 movea.l A1, [A1] 00000978 2368 000C 0006 move.l [A1 + 0x6], [A0 + 0xC] 0000097E 204C movea.l A0, A4 00000980 A02A syscall HUnlock label00000982: 00000982 701A moveq.l D0, 0x1A 00000984 B06E FFFE cmp.w D0, [A6 - 0x2] 00000988 671C beq +0x1E /* 000009A6 */ 0000098A 701B moveq.l D0, 0x1B 0000098C B06E FFFE cmp.w D0, [A6 - 0x2] 00000990 6714 beq +0x16 /* 000009A6 */ 00000992 2F2E FFE4 move.l -[A7], [A6 - 0x1C] 00000996 206E 0008 movea.l A0, [A6 + 0x8] 0000099A 2050 movea.l A0, [A0] 0000099C 3F28 0012 move.w -[A7], [A0 + 0x12] 000009A0 7000 moveq.l D0, 0x00 000009A2 1F00 move.b -[A7], D0 000009A4 A945 syscall CheckItem label000009A6: 000009A6 7008 moveq.l D0, 0x08 000009A8 C046 and.w D0, D6 000009AA 6712 beq +0x14 /* 000009BE */ 000009AC 7000 moveq.l D0, 0x00 000009AE 2F00 move.l -[A7], D0 000009B0 2F00 move.l -[A7], D0 000009B2 486E FFE8 pea.l [A6 - 0x18] 000009B6 4EBA 08AC jsr [PC + 0x8AC /* 00001264 */] 000009BA 4FEF 000C lea.l A7, [A7 + 0xC] label000009BE: 000009BE 422B 0026 clr.b [A3 + 0x26] 000009C2 203C FFFF 0000 move.l D0, 0xFFFF0000 000009C8 C087 and.l D0, D7 000009CA 2C00 move.l D6, D0 000009CC 4846 swap.w D6 000009CE 48C6 ext.l D6 000009D0 4A46 tst.w D6 000009D2 6604 bne +0x6 /* 000009D8 */ 000009D4 7E00 moveq.l D7, 0x00 000009D6 604A bra +0x4C /* 00000A22 */ label000009D8: 000009D8 598F subq.l A7, 4 000009DA 3F06 move.w -[A7], D6 000009DC A949 syscall GetMenuHandle 000009DE 201F move.l D0, [A7]+ 000009E0 B093 cmp.l D0, [A3] 000009E2 6712 beq +0x14 /* 000009F6 */ 000009E4 48C6 ext.l D6 000009E6 2F06 move.l -[A7], D6 000009E8 2F13 move.l -[A7], [A3] 000009EA 4EBA 0988 jsr [PC + 0x988 /* 00001374 */] 000009EE 48C0 ext.l D0 000009F0 2E00 move.l D7, D0 000009F2 508F addq.l A7, 8 000009F4 6006 bra +0x8 /* 000009FC */ label000009F6: 000009F6 0287 0000 FFFF andi.l D7, 0xFFFF label000009FC: 000009FC 206E 0008 movea.l A0, [A6 + 0x8] 00000A00 2050 movea.l A0, [A0] 00000A02 3028 0012 move.w D0, [A0 + 0x12] 00000A06 48C0 ext.l D0 00000A08 BE80 cmp.l D7, D0 00000A0A 56C0 sne D0 00000A0C 0240 0001 andi.w D0, 0x1 00000A10 48C0 ext.l D0 00000A12 1740 0026 move.b [A3 + 0x26], D0 00000A16 206E 0008 movea.l A0, [A6 + 0x8] 00000A1A 2050 movea.l A0, [A0] 00000A1C 3147 0012 move.w [A0 + 0x12], D7 00000A20 7E01 moveq.l D7, 0x01 label00000A22: 00000A22 2007 move.l D0, D7 00000A24 4CEE 18F0 FFCC movem.l D4,D5,D6,D7,A3,A4, [A6 - 0x34] 00000A2A 4E5E unlink A6 00000A2C 4E75 rts fn00000A2E: 00000A2E 4E56 FFDE link A6, -0x0022 00000A32 48E7 0718 movem.l -[A7], D5,D6,D7,A3,A4 00000A36 3A2E 000E move.w D5, [A6 + 0xE] 00000A3A 426E FFEE clr.w [A6 - 0x12] 00000A3E 206E 0008 movea.l A0, [A6 + 0x8] 00000A42 2050 movea.l A0, [A0] 00000A44 2668 001C movea.l A3, [A0 + 0x1C] 00000A48 2853 movea.l A4, [A3] 00000A4A 2654 movea.l A3, [A4] 00000A4C 3978 0BAC 0030 move.w [A4 + 0x30], [0x00000BAC /* TESysJust */] 00000A52 7008 moveq.l D0, 0x08 00000A54 C045 and.w D0, D5 00000A56 671A beq +0x1C /* 00000A72 */ 00000A58 7001 moveq.l D0, 0x01 00000A5A 2F00 move.l -[A7], D0 00000A5C 206E 0008 movea.l A0, [A6 + 0x8] 00000A60 2050 movea.l A0, [A0] 00000A62 2F28 0004 move.l -[A7], [A0 + 0x4] 00000A66 486E FFDE pea.l [A6 - 0x22] 00000A6A 4EBA 07F8 jsr [PC + 0x7F8 /* 00001264 */] 00000A6E 4FEF 000C lea.l A7, [A7 + 0xC] label00000A72: 00000A72 2F0B move.l -[A7], A3 00000A74 A948 syscall CalcMenuSize 00000A76 486C 0032 pea.l [A4 + 0x32] 00000A7A A88B syscall GetFontInfo 00000A7C 206E 0008 movea.l A0, [A6 + 0x8] 00000A80 2050 movea.l A0, [A0] 00000A82 43EE FFF0 lea.l A1, [A6 - 0x10] 00000A86 5088 addq.l A0, 8 00000A88 22D8 move.l [A1]+, [A0]+ 00000A8A 22D8 move.l [A1]+, [A0]+ 00000A8C 41EC 000A lea.l A0, [A4 + 0xA] 00000A90 43EE FFF0 lea.l A1, [A6 - 0x10] 00000A94 20D9 move.l [A0]+, [A1]+ 00000A96 20D9 move.l [A0]+, [A1]+ 00000A98 486E FFE6 pea.l [A6 - 0x1A] 00000A9C 7000 moveq.l D0, 0x00 00000A9E 3F00 move.w -[A7], D0 00000AA0 3F00 move.w -[A7], D0 00000AA2 3F00 move.w -[A7], D0 00000AA4 3F00 move.w -[A7], D0 00000AA6 A8A7 syscall SetRect 00000AA8 486E FFE6 pea.l [A6 - 0x1A] 00000AAC 7005 moveq.l D0, 0x05 00000AAE 2F00 move.l -[A7], D0 00000AB0 48C5 ext.l D5 00000AB2 2F05 move.l -[A7], D5 00000AB4 2F2E 0008 move.l -[A7], [A6 + 0x8] 00000AB8 4EBA 0554 jsr [PC + 0x554 /* 0000100E */] 00000ABC 396E FFEA 001E move.w [A4 + 0x1E], [A6 - 0x16] 00000AC2 2053 movea.l A0, [A3] 00000AC4 3968 0002 0020 move.w [A4 + 0x20], [A0 + 0x2] 00000ACA 3C2E FFEA move.w D6, [A6 - 0x16] 00000ACE 4FEF 0010 lea.l A7, [A7 + 0x10] 00000AD2 6614 bne +0x16 /* 00000AE8 */ 00000AD4 302C 0032 move.w D0, [A4 + 0x32] 00000AD8 48C0 ext.l D0 00000ADA 322C 0034 move.w D1, [A4 + 0x34] 00000ADE 48C1 ext.l D1 00000AE0 D280 add.l D1, D0 00000AE2 3C2C 0038 move.w D6, [A4 + 0x38] 00000AE6 DC41 add.w D6, D1 label00000AE8: 00000AE8 302E FFF4 move.w D0, [A6 - 0xC] 00000AEC 48C0 ext.l D0 00000AEE 322E FFF0 move.w D1, [A6 - 0x10] 00000AF2 48C1 ext.l D1 00000AF4 9081 sub.l D0, D1 00000AF6 48C6 ext.l D6 00000AF8 9086 sub.l D0, D6 00000AFA 5780 subq.l D0, 3 00000AFC 2E00 move.l D7, D0 00000AFE E287 asr D7, 1 00000B00 DF6C 000A add.w [A4 + 0xA], D7 00000B04 302C 000A move.w D0, [A4 + 0xA] 00000B08 48C0 ext.l D0 00000B0A 48C6 ext.l D6 00000B0C D086 add.l D0, D6 00000B0E 5640 addq.w D0, 3 00000B10 3940 000E move.w [A4 + 0xE], D0 00000B14 2F0B move.l -[A7], A3 00000B16 206E 0008 movea.l A0, [A6 + 0x8] 00000B1A 2050 movea.l A0, [A0] 00000B1C 3F28 0012 move.w -[A7], [A0 + 0x12] 00000B20 486E FFEE pea.l [A6 - 0x12] 00000B24 A84E syscall GetItemCmd 00000B26 486E FFF8 pea.l [A6 - 0x8] 00000B2A 2F0C move.l -[A7], A4 00000B2C 4EBA 065E jsr [PC + 0x65E /* 0000118C */] 00000B30 701A moveq.l D0, 0x1A 00000B32 B06E FFEE cmp.w D0, [A6 - 0x12] 00000B36 508F addq.l A7, 8 00000B38 6714 beq +0x16 /* 00000B4E */ 00000B3A 302E FFFE move.w D0, [A6 - 0x2] 00000B3E 48C0 ext.l D0 00000B40 322E FFFA move.w D1, [A6 - 0x6] 00000B44 48C1 ext.l D1 00000B46 9081 sub.l D0, D1 00000B48 7206 moveq.l D1, 0x06 00000B4A B280 cmp.l D1, D0 00000B4C 6D1C blt +0x1E /* 00000B6A */ label00000B4E: 00000B4E 3C2E FFF0 move.w D6, [A6 - 0x10] 00000B52 BC6C 000A cmp.w D6, [A4 + 0xA] 00000B56 6F04 ble +0x6 /* 00000B5C */ 00000B58 3946 000A move.w [A4 + 0xA], D6 label00000B5C: 00000B5C 3C2E FFF4 move.w D6, [A6 - 0xC] 00000B60 BC6C 000E cmp.w D6, [A4 + 0xE] 00000B64 6C04 bge +0x6 /* 00000B6A */ 00000B66 3946 000E move.w [A4 + 0xE], D6 label00000B6A: 00000B6A 2053 movea.l A0, [A3] 00000B6C 4A68 0002 tst.w [A0 + 0x2] 00000B70 6606 bne +0x8 /* 00000B78 */ 00000B72 3E2C 001C move.w D7, [A4 + 0x1C] 00000B76 6026 bra +0x28 /* 00000B9E */ label00000B78: 00000B78 302C 0036 move.w D0, [A4 + 0x36] 00000B7C 48C0 ext.l D0 00000B7E 322C 002A move.w D1, [A4 + 0x2A] 00000B82 48C1 ext.l D1 00000B84 D280 add.l D1, D0 00000B86 3E01 move.w D7, D1 00000B88 5647 addq.w D7, 3 00000B8A 701A moveq.l D0, 0x1A 00000B8C B06E FFEE cmp.w D0, [A6 - 0x12] 00000B90 6606 bne +0x8 /* 00000B98 */ 00000B92 DE6E FFEC add.w D7, [A6 - 0x14] 00000B96 6006 bra +0x8 /* 00000B9E */ label00000B98: 00000B98 2053 movea.l A0, [A3] 00000B9A DE68 0002 add.w D7, [A0 + 0x2] label00000B9E: 00000B9E BE6C 001C cmp.w D7, [A4 + 0x1C] 00000BA2 6F04 ble +0x6 /* 00000BA8 */ 00000BA4 3E2C 001C move.w D7, [A4 + 0x1C] label00000BA8: 00000BA8 BE6C 001A cmp.w D7, [A4 + 0x1A] 00000BAC 6C04 bge +0x6 /* 00000BB2 */ 00000BAE 3E2C 001A move.w D7, [A4 + 0x1A] label00000BB2: 00000BB2 4A6C 002A tst.w [A4 + 0x2A] 00000BB6 662A bne +0x2C /* 00000BE2 */ 00000BB8 7001 moveq.l D0, 0x01 00000BBA B06C 002C cmp.w D0, [A4 + 0x2C] 00000BBE 6622 bne +0x24 /* 00000BE2 */ 00000BC0 3C2E FFF6 move.w D6, [A6 - 0xA] 00000BC4 9C6E FFF2 sub.w D6, [A6 - 0xE] 00000BC8 48C7 ext.l D7 00000BCA 48C6 ext.l D6 00000BCC 2007 move.l D0, D7 00000BCE 9086 sub.l D0, D6 00000BD0 E280 asr D0, 1 00000BD2 916C 000C sub.w [A4 + 0xC], D0 00000BD6 3007 move.w D0, D7 00000BD8 D06C 000C add.w D0, [A4 + 0xC] 00000BDC 3940 0010 move.w [A4 + 0x10], D0 00000BE0 601E bra +0x20 /* 00000C00 */ label00000BE2: 00000BE2 70FF moveq.l D0, 0xFFFFFFFF 00000BE4 B06C 0030 cmp.w D0, [A4 + 0x30] 00000BE8 660C bne +0xE /* 00000BF6 */ 00000BEA 302C 0010 move.w D0, [A4 + 0x10] 00000BEE 9047 sub.w D0, D7 00000BF0 3940 000C move.w [A4 + 0xC], D0 00000BF4 600A bra +0xC /* 00000C00 */ label00000BF6: 00000BF6 3007 move.w D0, D7 00000BF8 D06C 000C add.w D0, [A4 + 0xC] 00000BFC 3940 0010 move.w [A4 + 0x10], D0 label00000C00: 00000C00 7008 moveq.l D0, 0x08 00000C02 C045 and.w D0, D5 00000C04 6712 beq +0x14 /* 00000C18 */ 00000C06 7000 moveq.l D0, 0x00 00000C08 2F00 move.l -[A7], D0 00000C0A 2F00 move.l -[A7], D0 00000C0C 486E FFDE pea.l [A6 - 0x22] 00000C10 4EBA 0652 jsr [PC + 0x652 /* 00001264 */] 00000C14 4FEF 000C lea.l A7, [A7 + 0xC] label00000C18: 00000C18 4CEE 18E0 FFCA movem.l D5,D6,D7,A3,A4, [A6 - 0x36] 00000C1E 4E5E unlink A6 00000C20 4E75 rts fn00000C22: 00000C22 4E56 FFEE link A6, -0x0012 00000C26 48E7 0F18 movem.l -[A7], D4,D5,D6,D7,A3,A4 00000C2A 286E 0008 movea.l A4, [A6 + 0x8] 00000C2E 7000 moveq.l D0, 0x00 00000C30 2640 movea.l A3, D0 00000C32 4A2E 000F tst.b [A6 + 0xF] 00000C36 670A beq +0xC /* 00000C42 */ 00000C38 2F0C move.l -[A7], A4 00000C3A 4EBA 0698 jsr [PC + 0x698 /* 000012D4 */] 00000C3E 2640 movea.l A3, D0 00000C40 588F addq.l A7, 4 label00000C42: 00000C42 486E FFF0 pea.l [A6 - 0x10] 00000C46 2F0C move.l -[A7], A4 00000C48 4EBA 0466 jsr [PC + 0x466 /* 000010B0 */] 00000C4C 486E FFF8 pea.l [A6 - 0x8] 00000C50 2F0C move.l -[A7], A4 00000C52 4EBA 04F6 jsr [PC + 0x4F6 /* 0000114A */] 00000C56 3C2C 0036 move.w D6, [A4 + 0x36] 00000C5A 3A2E FFFE move.w D5, [A6 - 0x2] 00000C5E 9A6E FFFA sub.w D5, [A6 - 0x6] 00000C62 302E FFF4 move.w D0, [A6 - 0xC] 00000C66 906E FFF0 sub.w D0, [A6 - 0x10] 00000C6A 3D40 FFEE move.w [A6 - 0x12], D0 00000C6E 3E06 move.w D7, D6 00000C70 3007 move.w D0, D7 00000C72 E440 asr D0.w, 2 00000C74 9E40 sub.w D7, D0 00000C76 0807 0000 btst.b D7, 0x0 00000C7A 4FEF 0010 lea.l A7, [A7 + 0x10] 00000C7E 6704 beq +0x6 /* 00000C84 */ 00000C80 3007 move.w D0, D7 00000C82 5247 addq.w D7, 1 label00000C84: 00000C84 0C47 0006 cmpi.w D7, 0x6 00000C88 6C10 bge +0x12 /* 00000C9A */ 00000C8A 7E06 moveq.l D7, 0x06 00000C8C BC47 cmp.w D6, D7 00000C8E 6C0A bge +0xC /* 00000C9A */ 00000C90 0C46 0004 cmpi.w D6, 0x4 00000C94 6D00 00A6 blt +0xA8 /* 00000D3C */ 00000C98 7E04 moveq.l D7, 0x04 label00000C9A: 00000C9A 3807 move.w D4, D7 00000C9C E244 asr D4.w, 1 00000C9E 48C5 ext.l D5 00000CA0 48C6 ext.l D6 00000CA2 2006 move.l D0, D6 00000CA4 5C80 addq.l D0, 6 00000CA6 B085 cmp.l D0, D5 00000CA8 6F14 ble +0x16 /* 00000CBE */ 00000CAA 48C5 ext.l D5 00000CAC 48C7 ext.l D7 00000CAE 2005 move.l D0, D5 00000CB0 9087 sub.l D0, D7 00000CB2 E280 asr D0, 1 00000CB4 D06E FFFA add.w D0, [A6 - 0x6] 00000CB8 3D40 FFF2 move.w [A6 - 0xE], D0 00000CBC 6012 bra +0x14 /* 00000CD0 */ label00000CBE: 00000CBE 70FF moveq.l D0, 0xFFFFFFFF 00000CC0 B06C 0030 cmp.w D0, [A4 + 0x30] 00000CC4 660A bne +0xC /* 00000CD0 */ 00000CC6 302E FFF6 move.w D0, [A6 - 0xA] 00000CCA 9047 sub.w D0, D7 00000CCC 3D40 FFF2 move.w [A6 - 0xE], D0 label00000CD0: 00000CD0 3007 move.w D0, D7 00000CD2 D06E FFF2 add.w D0, [A6 - 0xE] 00000CD6 3D40 FFF6 move.w [A6 - 0xA], D0 00000CDA 302E FFEE move.w D0, [A6 - 0x12] 00000CDE 48C0 ext.l D0 00000CE0 48C4 ext.l D4 00000CE2 9084 sub.l D0, D4 00000CE4 E280 asr D0, 1 00000CE6 D16E FFF0 add.w [A6 - 0x10], D0 00000CEA 3004 move.w D0, D4 00000CEC D06E FFF0 add.w D0, [A6 - 0x10] 00000CF0 3D40 FFF4 move.w [A6 - 0xC], D0 00000CF4 598F subq.l A7, 4 00000CF6 A8CB syscall OpenPoly 00000CF8 285F movea.l A4, [A7]+ 00000CFA 2F2E FFF0 move.l -[A7], [A6 - 0x10] 00000CFE A893 syscall MoveTo 00000D00 3F2E FFF6 move.w -[A7], [A6 - 0xA] 00000D04 3F2E FFF0 move.w -[A7], [A6 - 0x10] 00000D08 A891 syscall LineTo 00000D0A 302E FFF6 move.w D0, [A6 - 0xA] 00000D0E 48C0 ext.l D0 00000D10 322E FFF2 move.w D1, [A6 - 0xE] 00000D14 48C1 ext.l D1 00000D16 D280 add.l D1, D0 00000D18 E281 asr D1, 1 00000D1A 3F01 move.w -[A7], D1 00000D1C 3F2E FFF4 move.w -[A7], [A6 - 0xC] 00000D20 A891 syscall LineTo 00000D22 2F2E FFF0 move.l -[A7], [A6 - 0x10] 00000D26 A891 syscall LineTo 00000D28 A8CC syscall ClosePoly/ClosePgon 00000D2A 2F0C move.l -[A7], A4 00000D2C A8C7 syscall PaintPoly 00000D2E 2F0C move.l -[A7], A4 00000D30 A8CD syscall KillPoly 00000D32 A89E syscall PenNormal 00000D34 200B move.l D0, A3 00000D36 6704 beq +0x6 /* 00000D3C */ 00000D38 2F0B move.l -[A7], A3 00000D3A AA08 syscall DisposePixPat/DisposPixPat label00000D3C: 00000D3C 4CEE 18F0 FFD6 movem.l D4,D5,D6,D7,A3,A4, [A6 - 0x2A] 00000D42 4E5E unlink A6 00000D44 4E75 rts fn00000D46: 00000D46 4E56 FEF0 link A6, -0x0110 00000D4A 48E7 0718 movem.l -[A7], D5,D6,D7,A3,A4 00000D4E 266E 0008 movea.l A3, [A6 + 0x8] 00000D52 286E 000C movea.l A4, [A6 + 0xC] 00000D56 486E FEF0 pea.l [A6 - 0x110] 00000D5A 2F0C move.l -[A7], A4 00000D5C 4EBA 03A2 jsr [PC + 0x3A2 /* 00001100 */] 00000D60 486E FEF0 pea.l [A6 - 0x110] 00000D64 7000 moveq.l D0, 0x00 00000D66 3F00 move.w -[A7], D0 00000D68 7201 moveq.l D1, 0x01 00000D6A 3F01 move.w -[A7], D1 00000D6C A8A9 syscall InsetRect 00000D6E 4A2C 0027 tst.b [A4 + 0x27] 00000D72 508F addq.l A7, 8 00000D74 6728 beq +0x2A /* 00000D9E */ 00000D76 7000 moveq.l D0, 0x00 00000D78 102B 0011 move.b D0, [A3 + 0x11] 00000D7C 0C40 0001 cmpi.w D0, 0x1 00000D80 57C0 seq D0 00000D82 4400 neg.b D0 00000D84 4880 ext.w D0 00000D86 48C0 ext.l D0 00000D88 2F00 move.l -[A7], D0 00000D8A 7000 moveq.l D0, 0x00 00000D8C 2F00 move.l -[A7], D0 00000D8E 322C 0004 move.w D1, [A4 + 0x4] 00000D92 48C1 ext.l D1 00000D94 2F01 move.l -[A7], D1 00000D96 4EBA 0196 jsr [PC + 0x196 /* 00000F2E */] 00000D9A 4FEF 000C lea.l A7, [A7 + 0xC] label00000D9E: 00000D9E 486E FEF0 pea.l [A6 - 0x110] 00000DA2 A8A3 syscall EraseRect 00000DA4 206B 0004 movea.l A0, [A3 + 0x4] 00000DA8 1A28 0046 move.b D5, [A0 + 0x46] 00000DAC 3C28 0048 move.w D6, [A0 + 0x48] 00000DB0 7000 moveq.l D0, 0x00 00000DB2 102C 0029 move.b D0, [A4 + 0x29] 00000DB6 3F00 move.w -[A7], D0 00000DB8 A888 syscall TextFace 00000DBA 7000 moveq.l D0, 0x00 00000DBC 102B 0011 move.b D0, [A3 + 0x11] 00000DC0 0C40 00FF cmpi.w D0, 0xFF 00000DC4 670A beq +0xC /* 00000DD0 */ 00000DC6 2054 movea.l A0, [A4] 00000DC8 2050 movea.l A0, [A0] 00000DCA 4A68 0002 tst.w [A0 + 0x2] 00000DCE 6606 bne +0x8 /* 00000DD6 */ label00000DD0: 00000DD0 7031 moveq.l D0, 0x31 00000DD2 3F00 move.w -[A7], D0 00000DD4 A889 syscall TextMode label00000DD6: 00000DD6 41EB 0028 lea.l A0, [A3 + 0x28] 00000DDA 43EE FF00 lea.l A1, [A6 - 0x100] 00000DDE 7000 moveq.l D0, 0x00 00000DE0 102B 0028 move.b D0, [A3 + 0x28] 00000DE4 5240 addq.w D0, 1 00000DE6 48C0 ext.l D0 00000DE8 A02E syscall BlockMove/BlockMoveData 00000DEA 41EE FEF8 lea.l A0, [A6 - 0x108] 00000DEE 43EE FEF0 lea.l A1, [A6 - 0x110] 00000DF2 20D9 move.l [A0]+, [A1]+ 00000DF4 20D9 move.l [A0]+, [A1]+ 00000DF6 486E FEF8 pea.l [A6 - 0x108] 00000DFA 7003 moveq.l D0, 0x03 00000DFC 3F00 move.w -[A7], D0 00000DFE 7200 moveq.l D1, 0x00 00000E00 3F01 move.w -[A7], D1 00000E02 A8A9 syscall InsetRect 00000E04 302E FEFE move.w D0, [A6 - 0x102] 00000E08 48C0 ext.l D0 00000E0A 322E FEFA move.w D1, [A6 - 0x106] 00000E0E 48C1 ext.l D1 00000E10 9081 sub.l D0, D1 00000E12 3E00 move.w D7, D0 00000E14 5347 subq.w D7, 1 00000E16 558F subq.l A7, 2 00000E18 486E FF00 pea.l [A6 - 0x100] 00000E1C A88C syscall StringWidth 00000E1E BE5F cmp.w D7, [A7]+ 00000E20 6C24 bge +0x26 /* 00000E46 */ 00000E22 7000 moveq.l D0, 0x00 00000E24 102C 0029 move.b D0, [A4 + 0x29] 00000E28 7220 moveq.l D1, 0x20 00000E2A 8200 or.b D1, D0 00000E2C 3F01 move.w -[A7], D1 00000E2E A888 syscall TextFace 00000E30 558F subq.l A7, 2 00000E32 3F07 move.w -[A7], D7 00000E34 486E FF00 pea.l [A6 - 0x100] 00000E38 7000 moveq.l D0, 0x00 00000E3A 3F00 move.w -[A7], D0 00000E3C 2F3C 8208 FFE0 move.l -[A7], 0x8208FFE0 00000E42 A8B5 syscall ScriptUtil 00000E44 548F addq.l A7, 2 label00000E46: 00000E46 41EE FF00 lea.l A0, [A6 - 0x100] 00000E4A 5288 addq.l A0, 1 00000E4C 2F08 move.l -[A7], A0 00000E4E 7000 moveq.l D0, 0x00 00000E50 102E FF00 move.b D0, [A6 - 0x100] 00000E54 2F00 move.l -[A7], D0 00000E56 486E FEF8 pea.l [A6 - 0x108] 00000E5A 3F2C 002C move.w -[A7], [A4 + 0x2C] 00000E5E A9CE syscall TETextBox/TextBox 00000E60 7000 moveq.l D0, 0x00 00000E62 1005 move.b D0, D5 00000E64 3F00 move.w -[A7], D0 00000E66 A888 syscall TextFace 00000E68 3F06 move.w -[A7], D6 00000E6A A889 syscall TextMode 00000E6C 7000 moveq.l D0, 0x00 00000E6E 102B 0011 move.b D0, [A3 + 0x11] 00000E72 0C40 0001 cmpi.w D0, 0x1 00000E76 660C bne +0xE /* 00000E84 */ 00000E78 4A2C 0027 tst.b [A4 + 0x27] 00000E7C 6606 bne +0x8 /* 00000E84 */ 00000E7E 486E FEF0 pea.l [A6 - 0x110] 00000E82 A8A4 syscall InvertRect label00000E84: 00000E84 4CEE 18E0 FEDC movem.l D5,D6,D7,A3,A4, [A6 - 0x124] 00000E8A 4E5E unlink A6 00000E8C 4E75 rts fn00000E8E: 00000E8E 4E56 FFEC link A6, -0x0014 00000E92 48E7 0018 movem.l -[A7], A3,A4 00000E96 286E 0008 movea.l A4, [A6 + 0x8] 00000E9A 706C moveq.l D0, 0x6C 00000E9C A11E syscall NewPtr, flags=1 00000E9E 2648 movea.l A3, A0 00000EA0 200B move.l D0, A3 00000EA2 677E beq +0x80 /* 00000F22 */ 00000EA4 41EE FFEC lea.l A0, [A6 - 0x14] 00000EA8 43EC 0010 lea.l A1, [A4 + 0x10] 00000EAC 20D9 move.l [A0]+, [A1]+ 00000EAE 20D9 move.l [A0]+, [A1]+ 00000EB0 3D6E FFEE FFF6 move.w [A6 - 0xA], [A6 - 0x12] 00000EB6 3D6E FFEC FFF4 move.w [A6 - 0xC], [A6 - 0x14] 00000EBC 486E FFF4 pea.l [A6 - 0xC] 00000EC0 A870 syscall LocalToGlobal 00000EC2 2F0B move.l -[A7], A3 00000EC4 AA00 syscall OpenCPort 00000EC6 2F2E FFF4 move.l -[A7], [A6 - 0xC] 00000ECA A877 syscall MovePortTo 00000ECC 302E FFF2 move.w D0, [A6 - 0xE] 00000ED0 906E FFEE sub.w D0, [A6 - 0x12] 00000ED4 3F00 move.w -[A7], D0 00000ED6 302E FFF0 move.w D0, [A6 - 0x10] 00000EDA 906E FFEC sub.w D0, [A6 - 0x14] 00000EDE 3F00 move.w -[A7], D0 00000EE0 A876 syscall PortSize 00000EE2 3D6C 0044 FFF8 move.w [A6 - 0x8], [A4 + 0x44] 00000EE8 3D6C 004A FFFC move.w [A6 - 0x4], [A4 + 0x4A] 00000EEE 1D6C 0046 FFFA move.b [A6 - 0x6], [A4 + 0x46] 00000EF4 3D6C 0048 FFFE move.w [A6 - 0x2], [A4 + 0x48] 00000EFA 486E FFF8 pea.l [A6 - 0x8] 00000EFE 4EBA 0338 jsr [PC + 0x338 /* 00001238 */] 00000F02 A89E syscall PenNormal 00000F04 2F2C 001C move.l -[A7], [A4 + 0x1C] 00000F08 2F2B 001C move.l -[A7], [A3 + 0x1C] 00000F0C A8DC syscall CopyRgn 00000F0E 2F2C 0018 move.l -[A7], [A4 + 0x18] 00000F12 2F2B 0018 move.l -[A7], [A3 + 0x18] 00000F16 A8DC syscall CopyRgn 00000F18 4A6C 0042 tst.w [A4 + 0x42] 00000F1C 588F addq.l A7, 4 00000F1E 6C02 bge +0x4 /* 00000F22 */ 00000F20 A896 syscall HidePen label00000F22: 00000F22 200B move.l D0, A3 00000F24 4CEE 1800 FFE4 movem.l A3,A4, [A6 - 0x1C] 00000F2A 4E5E unlink A6 00000F2C 4E75 rts fn00000F2E: 00000F2E 4E56 FFF0 link A6, -0x0010 00000F32 48E7 0318 movem.l -[A7], D6,D7,A3,A4 00000F36 3C2E 000A move.w D6, [A6 + 0xA] 00000F3A 3E2E 000E move.w D7, [A6 + 0xE] 00000F3E 42AE FFF2 clr.l [A6 - 0xE] 00000F42 426E FFF0 clr.w [A6 - 0x10] 00000F46 3D7C FFFF FFFA move.w [A6 - 0x6], 0xFFFF 00000F4C 3D7C FFFF FFF8 move.w [A6 - 0x8], 0xFFFF 00000F52 3D7C FFFF FFF6 move.w [A6 - 0xA], 0xFFFF 00000F58 0C47 FFFF cmpi.w D7, 0xFFFF 00000F5C 677E beq +0x80 /* 00000FDC */ 00000F5E 4A47 tst.w D7 00000F60 6728 beq +0x2A /* 00000F8A */ 00000F62 598F subq.l A7, 4 00000F64 3F06 move.w -[A7], D6 00000F66 3F07 move.w -[A7], D7 00000F68 AA64 syscall GetMCEntry 00000F6A 285F movea.l A4, [A7]+ 00000F6C 200C move.l D0, A4 00000F6E 671A beq +0x1C /* 00000F8A */ 00000F70 41EE FFF0 lea.l A0, [A6 - 0x10] 00000F74 43EC 000A lea.l A1, [A4 + 0xA] 00000F78 20D9 move.l [A0]+, [A1]+ 00000F7A 30D9 move.w [A0]+, [A1]+ 00000F7C 41EE FFF6 lea.l A0, [A6 - 0xA] 00000F80 43EC 0016 lea.l A1, [A4 + 0x16] 00000F84 20D9 move.l [A0]+, [A1]+ 00000F86 30D9 move.w [A0]+, [A1]+ 00000F88 6052 bra +0x54 /* 00000FDC */ label00000F8A: 00000F8A 598F subq.l A7, 4 00000F8C 3F06 move.w -[A7], D6 00000F8E 7000 moveq.l D0, 0x00 00000F90 3F00 move.w -[A7], D0 00000F92 AA64 syscall GetMCEntry 00000F94 285F movea.l A4, [A7]+ 00000F96 200C move.l D0, A4 00000F98 671A beq +0x1C /* 00000FB4 */ 00000F9A 41EE FFF0 lea.l A0, [A6 - 0x10] 00000F9E 43EC 0010 lea.l A1, [A4 + 0x10] 00000FA2 20D9 move.l [A0]+, [A1]+ 00000FA4 30D9 move.w [A0]+, [A1]+ 00000FA6 41EE FFF6 lea.l A0, [A6 - 0xA] 00000FAA 43EC 0016 lea.l A1, [A4 + 0x16] 00000FAE 20D9 move.l [A0]+, [A1]+ 00000FB0 30D9 move.w [A0]+, [A1]+ 00000FB2 6028 bra +0x2A /* 00000FDC */ label00000FB4: 00000FB4 598F subq.l A7, 4 00000FB6 7000 moveq.l D0, 0x00 00000FB8 3F00 move.w -[A7], D0 00000FBA 3F00 move.w -[A7], D0 00000FBC AA64 syscall GetMCEntry 00000FBE 285F movea.l A4, [A7]+ 00000FC0 200C move.l D0, A4 00000FC2 6718 beq +0x1A /* 00000FDC */ 00000FC4 41EE FFF0 lea.l A0, [A6 - 0x10] 00000FC8 43EC 0010 lea.l A1, [A4 + 0x10] 00000FCC 20D9 move.l [A0]+, [A1]+ 00000FCE 30D9 move.w [A0]+, [A1]+ 00000FD0 41EE FFF6 lea.l A0, [A6 - 0xA] 00000FD4 43EC 000A lea.l A1, [A4 + 0xA] 00000FD8 20D9 move.l [A0]+, [A1]+ 00000FDA 30D9 move.w [A0]+, [A1]+ label00000FDC: 00000FDC 41EE FFF0 lea.l A0, [A6 - 0x10] 00000FE0 2D48 FFFC move.l [A6 - 0x4], A0 00000FE4 47EE FFF6 lea.l A3, [A6 - 0xA] 00000FE8 4A2E 0013 tst.b [A6 + 0x13] 00000FEC 670C beq +0xE /* 00000FFA */ 00000FEE 41EE FFF6 lea.l A0, [A6 - 0xA] 00000FF2 2D48 FFFC move.l [A6 - 0x4], A0 00000FF6 47EE FFF0 lea.l A3, [A6 - 0x10] label00000FFA: 00000FFA 2F2E FFFC move.l -[A7], [A6 - 0x4] 00000FFE AA14 syscall RGBForeColor 00001000 2F0B move.l -[A7], A3 00001002 AA15 syscall RGBBackColor 00001004 4CEE 18C0 FFE0 movem.l D6,D7,A3,A4, [A6 - 0x20] 0000100A 4E5E unlink A6 0000100C 4E75 rts fn0000100E: 0000100E 4E56 FFF2 link A6, -0x000E 00001012 48E7 0318 movem.l -[A7], D6,D7,A3,A4 00001016 3E2E 000E move.w D7, [A6 + 0xE] 0000101A 266E 0008 movea.l A3, [A6 + 0x8] 0000101E 2053 movea.l A0, [A3] 00001020 2068 001C movea.l A0, [A0 + 0x1C] 00001024 2D48 FFF2 move.l [A6 - 0xE], A0 00001028 2050 movea.l A0, [A0] 0000102A 2050 movea.l A0, [A0] 0000102C 2050 movea.l A0, [A0] 0000102E 2868 0006 movea.l A4, [A0 + 0x6] 00001032 200C move.l D0, A4 00001034 6770 beq +0x72 /* 000010A6 */ 00001036 2F0C move.l -[A7], A4 00001038 A9A2 syscall LoadResource 0000103A 4A94 tst.l [A4] 0000103C 6768 beq +0x6A /* 000010A6 */ 0000103E 7008 moveq.l D0, 0x08 00001040 C047 and.w D0, D7 00001042 6716 beq +0x18 /* 0000105A */ 00001044 7001 moveq.l D0, 0x01 00001046 2F00 move.l -[A7], D0 00001048 2053 movea.l A0, [A3] 0000104A 2F28 0004 move.l -[A7], [A0 + 0x4] 0000104E 486E FFF8 pea.l [A6 - 0x8] 00001052 4EBA 0210 jsr [PC + 0x210 /* 00001264 */] 00001056 4FEF 000C lea.l A7, [A7 + 0xC] label0000105A: 0000105A 2053 movea.l A0, [A3] 0000105C 3D68 0012 FFF6 move.w [A6 - 0xA], [A0 + 0x12] 00001062 204C movea.l A0, A4 00001064 A069 syscall HGetState 00001066 1C00 move.b D6, D0 00001068 204C movea.l A0, A4 0000106A A029 syscall HLock 0000106C 3F2E 0012 move.w -[A7], [A6 + 0x12] 00001070 206E FFF2 movea.l A0, [A6 - 0xE] 00001074 2050 movea.l A0, [A0] 00001076 2F10 move.l -[A7], [A0] 00001078 206E 0014 movea.l A0, [A6 + 0x14] 0000107C 2F08 move.l -[A7], A0 0000107E 2F10 move.l -[A7], [A0] 00001080 486E FFF6 pea.l [A6 - 0xA] 00001084 2054 movea.l A0, [A4] 00001086 4E90 jsr [A0] 00001088 204C movea.l A0, A4 0000108A 1006 move.b D0, D6 0000108C A06A syscall HSetState 0000108E 7008 moveq.l D0, 0x08 00001090 C047 and.w D0, D7 00001092 6712 beq +0x14 /* 000010A6 */ 00001094 7000 moveq.l D0, 0x00 00001096 2F00 move.l -[A7], D0 00001098 2F00 move.l -[A7], D0 0000109A 486E FFF8 pea.l [A6 - 0x8] 0000109E 4EBA 01C4 jsr [PC + 0x1C4 /* 00001264 */] 000010A2 4FEF 000C lea.l A7, [A7 + 0xC] label000010A6: 000010A6 4CEE 18C0 FFE2 movem.l D6,D7,A3,A4, [A6 - 0x1E] 000010AC 4E5E unlink A6 000010AE 4E75 rts fn000010B0: 000010B0 4E56 0000 link A6, 0 000010B4 48E7 0118 movem.l -[A7], D7,A3,A4 000010B8 266E 0008 movea.l A3, [A6 + 0x8] 000010BC 286E 000C movea.l A4, [A6 + 0xC] 000010C0 2F0C move.l -[A7], A4 000010C2 2F0B move.l -[A7], A3 000010C4 4EBA 0084 jsr [PC + 0x84 /* 0000114A */] 000010C8 3E2B 0036 move.w D7, [A3 + 0x36] 000010CC 5647 addq.w D7, 3 000010CE 2F0C move.l -[A7], A4 000010D0 7001 moveq.l D0, 0x01 000010D2 3F00 move.w -[A7], D0 000010D4 3F00 move.w -[A7], D0 000010D6 A8A9 syscall InsetRect 000010D8 70FF moveq.l D0, 0xFFFFFFFF 000010DA B06B 0030 cmp.w D0, [A3 + 0x30] 000010DE 660C bne +0xE /* 000010EC */ 000010E0 3007 move.w D0, D7 000010E2 D06C 0002 add.w D0, [A4 + 0x2] 000010E6 3940 0006 move.w [A4 + 0x6], D0 000010EA 600A bra +0xC /* 000010F6 */ label000010EC: 000010EC 302C 0006 move.w D0, [A4 + 0x6] 000010F0 9047 sub.w D0, D7 000010F2 3940 0002 move.w [A4 + 0x2], D0 label000010F6: 000010F6 4CEE 1880 FFF4 movem.l D7,A3,A4, [A6 - 0xC] 000010FC 4E5E unlink A6 000010FE 4E75 rts fn00001100: 00001100 4E56 0000 link A6, 0 00001104 48E7 0118 movem.l -[A7], D7,A3,A4 00001108 266E 0008 movea.l A3, [A6 + 0x8] 0000110C 286E 000C movea.l A4, [A6 + 0xC] 00001110 41EB 000A lea.l A0, [A3 + 0xA] 00001114 224C movea.l A1, A4 00001116 22D8 move.l [A1]+, [A0]+ 00001118 22D8 move.l [A1]+, [A0]+ 0000111A 3E2B 002A move.w D7, [A3 + 0x2A] 0000111E 70FF moveq.l D0, 0xFFFFFFFF 00001120 B06B 0030 cmp.w D0, [A3 + 0x30] 00001124 660C bne +0xE /* 00001132 */ 00001126 302C 0006 move.w D0, [A4 + 0x6] 0000112A 9047 sub.w D0, D7 0000112C 3940 0002 move.w [A4 + 0x2], D0 00001130 600A bra +0xC /* 0000113C */ label00001132: 00001132 3007 move.w D0, D7 00001134 D06C 0002 add.w D0, [A4 + 0x2] 00001138 3940 0006 move.w [A4 + 0x6], D0 label0000113C: 0000113C 536C 0004 subq.w [A4 + 0x4], 1 00001140 4CEE 1880 FFF4 movem.l D7,A3,A4, [A6 - 0xC] 00001146 4E5E unlink A6 00001148 4E75 rts fn0000114A: 0000114A 4E56 0000 link A6, 0 0000114E 48E7 0118 movem.l -[A7], D7,A3,A4 00001152 266E 0008 movea.l A3, [A6 + 0x8] 00001156 286E 000C movea.l A4, [A6 + 0xC] 0000115A 41EB 000A lea.l A0, [A3 + 0xA] 0000115E 224C movea.l A1, A4 00001160 22D8 move.l [A1]+, [A0]+ 00001162 22D8 move.l [A1]+, [A0]+ 00001164 3E2B 002A move.w D7, [A3 + 0x2A] 00001168 70FF moveq.l D0, 0xFFFFFFFF 0000116A B06B 0030 cmp.w D0, [A3 + 0x30] 0000116E 6606 bne +0x8 /* 00001176 */ 00001170 9F6C 0006 sub.w [A4 + 0x6], D7 00001174 6004 bra +0x6 /* 0000117A */ label00001176: 00001176 DF6C 0002 add.w [A4 + 0x2], D7 label0000117A: 0000117A 536C 0004 subq.w [A4 + 0x4], 1 0000117E 536C 0006 subq.w [A4 + 0x6], 1 00001182 4CEE 1880 FFF4 movem.l D7,A3,A4, [A6 - 0xC] 00001188 4E5E unlink A6 0000118A 4E75 rts fn0000118C: 0000118C 4E56 0000 link A6, 0 00001190 48E7 0118 movem.l -[A7], D7,A3,A4 00001194 266E 0008 movea.l A3, [A6 + 0x8] 00001198 286E 000C movea.l A4, [A6 + 0xC] 0000119C 3E2B 0036 move.w D7, [A3 + 0x36] 000011A0 5647 addq.w D7, 3 000011A2 2F0C move.l -[A7], A4 000011A4 2F0B move.l -[A7], A3 000011A6 4EBA FFA2 jsr [PC - 0x5E /* 0000114A */] 000011AA 70FF moveq.l D0, 0xFFFFFFFF 000011AC B06B 0030 cmp.w D0, [A3 + 0x30] 000011B0 660A bne +0xC /* 000011BC */ 000011B2 DF6C 0002 add.w [A4 + 0x2], D7 000011B6 536C 0006 subq.w [A4 + 0x6], 1 000011BA 6008 bra +0xA /* 000011C4 */ label000011BC: 000011BC 9F6C 0006 sub.w [A4 + 0x6], D7 000011C0 526C 0002 addq.w [A4 + 0x2], 1 label000011C4: 000011C4 5254 addq.w [A4], 1 000011C6 4CEE 1880 FFF4 movem.l D7,A3,A4, [A6 - 0xC] 000011CC 4E5E unlink A6 000011CE 4E75 rts fn000011D0: 000011D0 4E56 0000 link A6, 0 000011D4 2F0C move.l -[A7], A4 000011D6 286E 000C movea.l A4, [A6 + 0xC] 000011DA 2F0C move.l -[A7], A4 000011DC 2F2E 0008 move.l -[A7], [A6 + 0x8] 000011E0 4EBA FF68 jsr [PC - 0x98 /* 0000114A */] 000011E4 566C 0002 addq.w [A4 + 0x2], 3 000011E8 5654 addq.w [A4], 3 000011EA 526C 0006 addq.w [A4 + 0x6], 1 000011EE 526C 0004 addq.w [A4 + 0x4], 1 000011F2 286E FFFC movea.l A4, [A6 - 0x4] 000011F6 4E5E unlink A6 000011F8 4E75 rts fn000011FA: 000011FA 4E56 FFFC link A6, -0x0004 000011FE 2F0C move.l -[A7], A4 00001200 286E 0008 movea.l A4, [A6 + 0x8] 00001204 486E FFFC pea.l [A6 - 0x4] 00001208 A874 syscall GetPort 0000120A 206E FFFC movea.l A0, [A6 - 0x4] 0000120E 38A8 0044 move.w [A4], [A0 + 0x44] 00001212 206E FFFC movea.l A0, [A6 - 0x4] 00001216 1968 0046 0002 move.b [A4 + 0x2], [A0 + 0x46] 0000121C 206E FFFC movea.l A0, [A6 - 0x4] 00001220 3968 004A 0004 move.w [A4 + 0x4], [A0 + 0x4A] 00001226 206E FFFC movea.l A0, [A6 - 0x4] 0000122A 3968 0048 0006 move.w [A4 + 0x6], [A0 + 0x48] 00001230 286E FFF8 movea.l A4, [A6 - 0x8] 00001234 4E5E unlink A6 00001236 4E75 rts fn00001238: 00001238 4E56 0000 link A6, 0 0000123C 2F0C move.l -[A7], A4 0000123E 286E 0008 movea.l A4, [A6 + 0x8] 00001242 3F14 move.w -[A7], [A4] 00001244 A887 syscall TextFont 00001246 3F2C 0004 move.w -[A7], [A4 + 0x4] 0000124A A88A syscall TextSize 0000124C 7000 moveq.l D0, 0x00 0000124E 102C 0002 move.b D0, [A4 + 0x2] 00001252 3F00 move.w -[A7], D0 00001254 A888 syscall TextFace 00001256 3F2C 0006 move.w -[A7], [A4 + 0x6] 0000125A A889 syscall TextMode 0000125C 286E FFFC movea.l A4, [A6 - 0x4] 00001260 4E5E unlink A6 00001262 4E75 rts fn00001264: 00001264 4E56 FFF8 link A6, -0x0008 00001268 48E7 0318 movem.l -[A7], D6,D7,A3,A4 0000126C 1C2E 0013 move.b D6, [A6 + 0x13] 00001270 286E 000C movea.l A4, [A6 + 0xC] 00001274 266E 0008 movea.l A3, [A6 + 0x8] 00001278 4A06 tst.b D6 0000127A 6726 beq +0x28 /* 000012A2 */ 0000127C 204B movea.l A0, A3 0000127E 30B8 0BA6 move.w [A0], [0x00000BA6 /* SysFontFam */] 00001282 206E 0008 movea.l A0, [A6 + 0x8] 00001286 3178 0BA8 0004 move.w [A0 + 0x4], [0x00000BA8 /* DefFontSize */] 0000128C 3D6C 0044 FFF8 move.w [A6 - 0x8], [A4 + 0x44] 00001292 3D6C 004A FFFC move.w [A6 - 0x4], [A4 + 0x4A] 00001298 47EE FFF8 lea.l A3, [A6 - 0x8] 0000129C 4A6C 0044 tst.w [A4 + 0x44] 000012A0 6728 beq +0x2A /* 000012CA */ label000012A2: 000012A2 3E13 move.w D7, [A3] 000012A4 4A06 tst.b D6 000012A6 670C beq +0xE /* 000012B4 */ 000012A8 7001 moveq.l D0, 0x01 000012AA B06C 0044 cmp.w D0, [A4 + 0x44] 000012AE 6604 bne +0x6 /* 000012B4 */ 000012B0 3E38 0984 move.w D7, [0x00000984 /* AppFontID */] label000012B4: 000012B4 31C7 0BA6 move.w [0x00000BA6 /* SysFontFam */], D7 000012B8 31EB 0004 0BA8 move.w [0x00000BA8 /* DefFontSize */], [A3 + 0x4] 000012BE 4AB8 0988 tst.l [0x00000988 /* CurFMFamily */] 000012C2 6606 bne +0x8 /* 000012CA */ 000012C4 70FF moveq.l D0, 0xFFFFFFFF 000012C6 21C0 0988 move.l [0x00000988 /* CurFMFamily */], D0 label000012CA: 000012CA 4CEE 18C0 FFE8 movem.l D6,D7,A3,A4, [A6 - 0x18] 000012D0 4E5E unlink A6 000012D2 4E75 rts fn000012D4: 000012D4 4E56 FFEC link A6, -0x0014 000012D8 48E7 0018 movem.l -[A7], A3,A4 000012DC 47EE FFEC lea.l A3, [A6 - 0x14] 000012E0 7000 moveq.l D0, 0x00 000012E2 2840 movea.l A4, D0 000012E4 206E 0008 movea.l A0, [A6 + 0x8] 000012E8 4A28 0027 tst.b [A0 + 0x27] 000012EC 6764 beq +0x66 /* 00001352 */ 000012EE 486E FFF4 pea.l [A6 - 0xC] 000012F2 AA19 syscall GetForeColor 000012F4 486E FFFA pea.l [A6 - 0x6] 000012F8 AA1A syscall GetBackColor 000012FA 7000 moveq.l D0, 0x00 000012FC 302E FFF4 move.w D0, [A6 - 0xC] 00001300 7200 moveq.l D1, 0x00 00001302 322E FFFA move.w D1, [A6 - 0x6] 00001306 D280 add.l D1, D0 00001308 E281 asr D1, 1 0000130A 3D41 FFF4 move.w [A6 - 0xC], D1 0000130E 7000 moveq.l D0, 0x00 00001310 302E FFF6 move.w D0, [A6 - 0xA] 00001314 7200 moveq.l D1, 0x00 00001316 322E FFFC move.w D1, [A6 - 0x4] 0000131A D280 add.l D1, D0 0000131C E281 asr D1, 1 0000131E 3D41 FFF6 move.w [A6 - 0xA], D1 00001322 7000 moveq.l D0, 0x00 00001324 302E FFF8 move.w D0, [A6 - 0x8] 00001328 7200 moveq.l D1, 0x00 0000132A 322E FFFE move.w D1, [A6 - 0x2] 0000132E D280 add.l D1, D0 00001330 E281 asr D1, 1 00001332 3D41 FFF8 move.w [A6 - 0x8], D1 00001336 598F subq.l A7, 4 00001338 AA07 syscall NewPixPat 0000133A 285F movea.l A4, [A7]+ 0000133C 200C move.l D0, A4 0000133E 670C beq +0xE /* 0000134C */ 00001340 2F0C move.l -[A7], A4 00001342 486E FFF4 pea.l [A6 - 0xC] 00001346 AA0D syscall MakeRGBPat 00001348 2F0C move.l -[A7], A4 0000134A AA0A syscall PenPixPat label0000134C: 0000134C 7031 moveq.l D0, 0x31 0000134E 3F00 move.w -[A7], D0 00001350 A889 syscall TextMode label00001352: 00001352 200C move.l D0, A4 00001354 6612 bne +0x14 /* 00001368 */ 00001356 2F0B move.l -[A7], A3 00001358 7000 moveq.l D0, 0x00 0000135A 3F00 move.w -[A7], D0 0000135C 7204 moveq.l D1, 0x04 0000135E 3F01 move.w -[A7], D1 00001360 4EBA 006A jsr [PC + 0x6A /* 000013CC */] 00001364 2F0B move.l -[A7], A3 00001366 A89D syscall PenPat label00001368: 00001368 200C move.l D0, A4 0000136A 4CEE 1800 FFE4 movem.l A3,A4, [A6 - 0x1C] 00001370 4E5E unlink A6 00001372 4E75 rts fn00001374: 00001374 4E56 FFFC link A6, -0x0004 00001378 48E7 0308 movem.l -[A7], D6,D7,A4 0000137C 3C2E 000E move.w D6, [A6 + 0xE] 00001380 286E 0008 movea.l A4, [A6 + 0x8] 00001384 42AE FFFC clr.l [A6 - 0x4] 00001388 7E01 moveq.l D7, 0x01 0000138A 602A bra +0x2C /* 000013B6 */ label0000138C: 0000138C 2F0C move.l -[A7], A4 0000138E 3F07 move.w -[A7], D7 00001390 486E FFFC pea.l [A6 - 0x4] 00001394 A84E syscall GetItemCmd 00001396 701B moveq.l D0, 0x1B 00001398 B06E FFFC cmp.w D0, [A6 - 0x4] 0000139C 6614 bne +0x16 /* 000013B2 */ 0000139E 2F0C move.l -[A7], A4 000013A0 3F07 move.w -[A7], D7 000013A2 486E FFFE pea.l [A6 - 0x2] 000013A6 A943 syscall GetItmMark 000013A8 BC6E FFFE cmp.w D6, [A6 - 0x2] 000013AC 6604 bne +0x6 /* 000013B2 */ 000013AE 3007 move.w D0, D7 000013B0 6010 bra +0x12 /* 000013C2 */ label000013B2: 000013B2 3007 move.w D0, D7 000013B4 5247 addq.w D7, 1 label000013B6: 000013B6 558F subq.l A7, 2 000013B8 2F0C move.l -[A7], A4 000013BA A950 syscall CountMItems 000013BC BE5F cmp.w D7, [A7]+ 000013BE 6FCC ble -0x32 /* 0000138C */ 000013C0 7001 moveq.l D0, 0x01 label000013C2: 000013C2 4CEE 10C0 FFF0 movem.l D6,D7,A4, [A6 - 0x10] 000013C8 4E5E unlink A6 000013CA 4E75 rts fn000013CC: 000013CC 4E56 0000 link A6, 0 000013D0 594F subq.w A7, 4 000013D2 2F3C 5041 5423 move.l -[A7], 0x50415423 /* 'PAT#' */ 000013D8 3F2E 000A move.w -[A7], [A6 + 0xA] 000013DC A9A0 syscall GetResource 000013DE 226E 000C movea.l A1, [A6 + 0xC] 000013E2 201F move.l D0, [A7]+ 000013E4 671C beq +0x1E /* 00001402 */ 000013E6 2040 movea.l A0, D0 000013E8 2050 movea.l A0, [A0] 000013EA 3018 move.w D0, [A0]+ 000013EC 322E 0008 move.w D1, [A6 + 0x8] 000013F0 6710 beq +0x12 /* 00001402 */ 000013F2 B240 cmp.w D1, D0 000013F4 620C bhi +0xE /* 00001402 */ label000013F6: 000013F6 5341 subq.w D1, 1 000013F8 6704 beq +0x6 /* 000013FE */ 000013FA 5048 addq.w A0, 8 000013FC 60F8 bra -0x6 /* 000013F6 */ label000013FE: 000013FE 22D8 move.l [A1]+, [A0]+ 00001400 2290 move.l [A1], [A0] label00001402: 00001402 4E5E unlink A6 00001404 205F movea.l A0, [A7]+ 00001406 508F addq.l A7, 8 00001408 4ED0 jmp [A0]